From 9781e0c3e2c8284691c753eb9bf3941823fab46b Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 5 Jan 2009 04:11:52 +0100 Subject: [PATCH] Remove ununsed disconnect code --- plugins/wifi.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/wifi.c b/plugins/wifi.c index abf15a4..92e5787 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -67,8 +67,6 @@ static int network_disconnect(struct connman_network *network) { DBG("network %p", network); - //connman_element_unregister_children((struct connman_element *) network); - return supplicant_disconnect(network); } @@ -123,8 +121,6 @@ static int wifi_disable(struct connman_device *device) DBG("device %p", device); - //connman_element_unregister_children((struct connman_element *) device); - data->connected = FALSE; return supplicant_stop(device); -- 2.7.4