projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5702348
)
bluetooth: Remove unused argument in add_network()
author
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Thu, 9 Aug 2012 16:27:51 +0000
(18:27 +0200)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Tue, 14 Aug 2012 06:20:38 +0000
(09:20 +0300)
plugins/bluetooth.c
patch
|
blob
|
history
diff --git
a/plugins/bluetooth.c
b/plugins/bluetooth.c
index
2ab29a6
..
c6f4d15
100644
(file)
--- 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;
}