network: Remove un-needed code

With the new add_atom_watch semantics the foreach statement is not
needed.
This commit is contained in:
Denis Kenzior 2011-03-30 12:38:14 -05:00
parent 2e444d1a51
commit 6c9a6b064f
1 changed files with 0 additions and 3 deletions

View File

@ -2022,9 +2022,6 @@ void ofono_netreg_register(struct ofono_netreg *netreg)
netreg->hfp_watch = __ofono_modem_add_atom_watch(modem,
OFONO_ATOM_TYPE_EMULATOR_HFP,
emulator_hfp_watch, netreg, NULL);
__ofono_modem_foreach_atom(modem, OFONO_ATOM_TYPE_EMULATOR_HFP,
emulator_hfp_init, netreg);
}
void ofono_netreg_remove(struct ofono_netreg *netreg)