mirror of git://git.sysmocom.de/ofono
Fix unused function remove_all_watches
This commit is contained in:
parent
6261b83dbf
commit
919aae6cd9
|
@ -1075,6 +1075,8 @@ static void sim_unregister(struct ofono_atom *atom)
|
||||||
struct ofono_modem *modem = __ofono_atom_get_modem(atom);
|
struct ofono_modem *modem = __ofono_atom_get_modem(atom);
|
||||||
const char *path = __ofono_atom_get_path(atom);
|
const char *path = __ofono_atom_get_path(atom);
|
||||||
|
|
||||||
|
remove_all_watches(__ofono_atom_get_data(atom));
|
||||||
|
|
||||||
g_dbus_unregister_interface(conn, path,
|
g_dbus_unregister_interface(conn, path,
|
||||||
SIM_MANAGER_INTERFACE);
|
SIM_MANAGER_INTERFACE);
|
||||||
ofono_modem_remove_interface(modem, SIM_MANAGER_INTERFACE);
|
ofono_modem_remove_interface(modem, SIM_MANAGER_INTERFACE);
|
||||||
|
|
Loading…
Reference in New Issue