From: Daniel Wagner Date: Thu, 9 Aug 2012 16:27:51 +0000 (+0200) Subject: bluetooth: Remove unused argument in add_network() X-Git-Tag: 1.5~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88b00613094f66ab244390902e65e2d9b8b5859e;p=platform%2Fupstream%2Fconnman.git bluetooth: Remove unused argument in add_network() --- diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 2ab29a6..c6f4d15 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -454,7 +454,7 @@ done: dbus_pending_call_unref(call); } -static void add_network(struct connman_device *device, const char *path) +static void add_network(const char *path) { DBusMessage *message; DBusPendingCall *call; @@ -501,7 +501,7 @@ static void check_networks(struct connman_device *device, dbus_message_iter_get_basic(&value, &path); - add_network(device, path); + add_network(path); dbus_message_iter_next(&value); } @@ -594,7 +594,7 @@ static gboolean device_changed(DBusConnection *conn, DBG("key %s", key); if (g_str_equal(key, "UUIDs") == TRUE) - add_network(NULL, path); + add_network(path); return TRUE; }