diff options
author | Mika Liljeberg <mika.liljeberg@nokia.com> | 2011-03-29 10:48:29 +0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-03-30 12:33:54 -0500 |
commit | 0eedf429218761109009370b2434c3e7b3350a67 (patch) | |
tree | b23c444264e21b8e971694f04aa0a595c7addd37 /src/call-forwarding.c | |
parent | 3c191345241d462ce966c727c96d4a2cc0646c7a (diff) | |
download | ofono-0eedf429218761109009370b2434c3e7b3350a67.tar.bz2 |
core: remove redundant code
Diffstat (limited to 'src/call-forwarding.c')
-rw-r--r-- | src/call-forwarding.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/call-forwarding.c b/src/call-forwarding.c index 1ba588a4..84d3067a 100644 --- a/src/call-forwarding.c +++ b/src/call-forwarding.c @@ -1539,7 +1539,6 @@ void ofono_call_forwarding_register(struct ofono_call_forwarding *cf) const char *path = __ofono_atom_get_path(cf->atom); struct ofono_modem *modem = __ofono_atom_get_modem(cf->atom); struct ofono_atom *sim_atom; - struct ofono_atom *ussd_atom; if (!g_dbus_register_interface(conn, path, OFONO_CALL_FORWARDING_INTERFACE, @@ -1566,12 +1565,6 @@ void ofono_call_forwarding_register(struct ofono_call_forwarding *cf) OFONO_ATOM_TYPE_USSD, ussd_watch, cf, NULL); - ussd_atom = __ofono_modem_find_atom(modem, OFONO_ATOM_TYPE_USSD); - - if (ussd_atom && __ofono_atom_get_registered(ussd_atom)) - ussd_watch(ussd_atom, OFONO_ATOM_WATCH_CONDITION_REGISTERED, - cf); - __ofono_atom_register(cf->atom, call_forwarding_unregister); } |