ims: Remove logic checking presence of SIM atom

This part is not required
This commit is contained in:
Denis Kenzior 2017-10-09 11:34:43 -05:00
parent 32d7596ff4
commit b002a79f4b
1 changed files with 0 additions and 9 deletions

View File

@ -361,15 +361,6 @@ static void ofono_ims_finish_register(struct ofono_ims *ims)
void ofono_ims_register(struct ofono_ims *ims)
{
struct ofono_modem *modem = __ofono_atom_get_modem(ims->atom);
struct ofono_sim *sim = __ofono_atom_find(OFONO_ATOM_TYPE_SIM, modem);
const char *imsi = ofono_sim_get_imsi(sim);
if (imsi == NULL) {
ofono_error("No sim atom required for registering IMS atom.");
return;
}
ofono_ims_finish_register(ims);
}