summaryrefslogtreecommitdiffstats
path: root/src/cbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cbs.c')
-rw-r--r--src/cbs.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cbs.c b/src/cbs.c
index d99f2508..d81104e3 100644
--- a/src/cbs.c
+++ b/src/cbs.c
@@ -1087,7 +1087,6 @@ void ofono_cbs_register(struct ofono_cbs *cbs)
const char *path = __ofono_atom_get_path(cbs->atom);
struct ofono_atom *sim_atom;
struct ofono_atom *stk_atom;
- struct ofono_atom *netreg_atom;
if (!g_dbus_register_interface(conn, path,
OFONO_CELL_BROADCAST_INTERFACE,
@@ -1119,12 +1118,6 @@ void ofono_cbs_register(struct ofono_cbs *cbs)
OFONO_ATOM_TYPE_NETREG,
netreg_watch, cbs, NULL);
- netreg_atom = __ofono_modem_find_atom(modem, OFONO_ATOM_TYPE_NETREG);
-
- if (netreg_atom && __ofono_atom_get_registered(netreg_atom))
- netreg_watch(netreg_atom,
- OFONO_ATOM_WATCH_CONDITION_REGISTERED, cbs);
-
__ofono_atom_register(cbs->atom, cbs_unregister);
}