wifi: Remove unused code
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 24 Aug 2011 07:00:22 +0000 (10:00 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 24 Aug 2011 13:38:10 +0000 (15:38 +0200)
plugins/wifi.c

index 469ec67..f3ea836 100644 (file)
@@ -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)