From 88b00613094f66ab244390902e65e2d9b8b5859e Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Thu, 9 Aug 2012 18:27:51 +0200 Subject: [PATCH] bluetooth: Remove unused argument in add_network() --- plugins/bluetooth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.7.4