diff options
Diffstat (limited to 'src/notifier.c')
-rw-r--r-- | src/notifier.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/notifier.c b/src/notifier.c index 3862626a..3f91d318 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -77,23 +77,6 @@ static volatile int registered[MAX_TECHNOLOGIES]; static volatile int enabled[MAX_TECHNOLOGIES]; static volatile int connected[MAX_TECHNOLOGIES]; -void __connman_notifier_list_registered(DBusMessageIter *iter, void *user_data) -{ - int i; - - __sync_synchronize(); - for (i = 0; i < MAX_TECHNOLOGIES; i++) { - const char *type = __connman_service_type2string(i); - - if (type == NULL) - continue; - - if (registered[i] > 0) - dbus_message_iter_append_basic(iter, - DBUS_TYPE_STRING, &type); - } -} - void __connman_notifier_list_enabled(DBusMessageIter *iter, void *user_data) { int i; @@ -132,10 +115,6 @@ static void technology_registered(enum connman_service_type type, connman_bool_t registered) { DBG("type %d registered %d", type, registered); - - connman_dbus_property_changed_array(CONNMAN_MANAGER_PATH, - CONNMAN_MANAGER_INTERFACE, "AvailableTechnologies", - DBUS_TYPE_STRING, __connman_notifier_list_registered, NULL); } static void technology_enabled(enum connman_service_type type, |