From 369d9f8f335d6c6e02802716cf99b5be6f3164c4 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 22 Oct 2009 17:49:49 -0500 Subject: [PATCH] Refactor: Deactivate all contexts function --- src/gprs.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/gprs.c b/src/gprs.c index d35c869a..b7b8a61d 100644 --- a/src/gprs.c +++ b/src/gprs.c @@ -743,17 +743,10 @@ static DBusMessage *gprs_deactivate_all(DBusConnection *conn, if (gprs->pending) return __ofono_error_busy(msg); - if (!gprs->driver->set_active_all) - return __ofono_error_not_implemented(msg); - if (!dbus_message_get_args(msg, NULL, DBUS_TYPE_INVALID)) return __ofono_error_invalid_args(msg); - gprs->pending = dbus_message_ref(msg); - - gprs->driver->set_active_all(gprs, 0, gprs_generic_callback, gprs); - - return NULL; + return __ofono_error_not_implemented(msg); } static GDBusMethodTable manager_methods[] = {