summaryrefslogtreecommitdiff
path: root/plugins/bluetooth.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-08-09 18:27:52 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-08-14 09:20:40 +0300
commit387604eec8dde638ccd019805e21d636c84d49c8 (patch)
tree1ba28ffdbff98784b34d9a8f16c73a2b26fc37b2 /plugins/bluetooth.c
parent88b00613094f66ab244390902e65e2d9b8b5859e (diff)
downloadconnman-387604eec8dde638ccd019805e21d636c84d49c8.tar.gz
connman-387604eec8dde638ccd019805e21d636c84d49c8.tar.bz2
connman-387604eec8dde638ccd019805e21d636c84d49c8.zip
bluetooth: Remove unused argument in check_networks()
Diffstat (limited to 'plugins/bluetooth.c')
-rw-r--r--plugins/bluetooth.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index c6f4d152..1e1fc484 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -486,8 +486,7 @@ done:
dbus_message_unref(message);
}
-static void check_networks(struct connman_device *device,
- DBusMessageIter *array)
+static void check_networks(DBusMessageIter *array)
{
DBusMessageIter value;
@@ -540,7 +539,7 @@ static gboolean adapter_changed(DBusConnection *conn,
dbus_message_iter_get_basic(&value, &val);
connman_device_set_scanning(device, val);
} else if (g_str_equal(key, "Devices") == TRUE) {
- check_networks(device, &value);
+ check_networks(&value);
}
return TRUE;
@@ -695,7 +694,7 @@ update:
connman_device_set_scanning(device, scanning);
if (powered == TRUE)
- check_networks(device, &networks);
+ check_networks(&networks);
else
remove_device_networks(device);