mirror of git://git.sysmocom.de/ofono
network: Remove un-needed code
With the new add_atom_watch semantics the foreach statement is not needed.
This commit is contained in:
parent
2e444d1a51
commit
6c9a6b064f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue