From ef9c42ac21606bed83eb51c91f110a3aa228690d Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Wed, 24 Aug 2011 10:00:22 +0300 Subject: [PATCH] wifi: Remove unused code --- plugins/wifi.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/plugins/wifi.c b/plugins/wifi.c index 469ec67..f3ea836 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -764,26 +764,12 @@ static void interface_removed(GSupplicantInterface *interface) static void scan_started(GSupplicantInterface *interface) { - struct wifi_data *wifi; - DBG(""); - - wifi = g_supplicant_interface_get_data(interface); - - if (wifi == NULL) - return; } static void scan_finished(GSupplicantInterface *interface) { - struct wifi_data *wifi; - DBG(""); - - wifi = g_supplicant_interface_get_data(interface); - - if (wifi == NULL) - return; } static unsigned char calculate_strength(GSupplicantNetwork *supplicant_network) -- 2.7.4