Fix unused function remove_all_watches

This commit is contained in:
Denis Kenzior 2009-08-20 15:32:53 -05:00
parent 6261b83dbf
commit 919aae6cd9
1 changed files with 2 additions and 0 deletions

View File

@ -1075,6 +1075,8 @@ static void sim_unregister(struct ofono_atom *atom)
struct ofono_modem *modem = __ofono_atom_get_modem(atom);
const char *path = __ofono_atom_get_path(atom);
remove_all_watches(__ofono_atom_get_data(atom));
g_dbus_unregister_interface(conn, path,
SIM_MANAGER_INTERFACE);
ofono_modem_remove_interface(modem, SIM_MANAGER_INTERFACE);