summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-07-25 16:24:31 +0200
committerMarcel Holtmann <marcel@holtmann.org>2011-07-26 01:21:26 +0200
commit033a47bed7bd72eb712f7f51dd17985b89c087e0 (patch)
tree835d7a6cd27c1369a79d7743ff2d3a733eaf86be
parent04b5b05b64a613ced1b78ce6e9859f1e10032534 (diff)
downloadconnman-033a47bed7bd72eb712f7f51dd17985b89c087e0.tar.gz
connman-033a47bed7bd72eb712f7f51dd17985b89c087e0.tar.bz2
connman-033a47bed7bd72eb712f7f51dd17985b89c087e0.zip
device: Remove needless call to __connman_network_set_device()
-rw-r--r--src/device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index 7d02c332..87f503d3 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1117,8 +1117,6 @@ int connman_device_remove_network(struct connman_device *device,
service = __connman_service_lookup_from_network(network);
- __connman_network_set_device(network, NULL);
-
g_hash_table_remove(device->networks, identifier);
if (service != NULL)