summaryrefslogtreecommitdiff
path: root/plugins/bluetooth.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-08-09 18:27:51 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-08-14 09:20:38 +0300
commit88b00613094f66ab244390902e65e2d9b8b5859e (patch)
tree9a7520d4a24febde36ced51d2b9fb529d70146bc /plugins/bluetooth.c
parent5702348938d6a6cf680ec503cc02a532f24c9910 (diff)
downloadconnman-88b00613094f66ab244390902e65e2d9b8b5859e.tar.gz
connman-88b00613094f66ab244390902e65e2d9b8b5859e.tar.bz2
connman-88b00613094f66ab244390902e65e2d9b8b5859e.zip
bluetooth: Remove unused argument in add_network()
Diffstat (limited to 'plugins/bluetooth.c')
-rw-r--r--plugins/bluetooth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 2ab29a68..c6f4d152 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;
}