staging: wilc1000: removes unused dead codes
authorLeo Kim <leo.kim@atmel.com>
Fri, 25 Mar 2016 12:16:51 +0000 (21:16 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
This patch removes unused dead codes that define custom feature.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c

index 760d44d170568e27d1eac0391c86db36cd090af0..db624ef31e6986c318024651e4f1a601b7fb58dc 100644 (file)
@@ -691,14 +691,6 @@ void wilc1000_wlan_deinit(struct net_device *dev)
 
                wilc_wlan_stop(wl);
                wilc_wlan_cleanup(dev);
-#if defined(PLAT_ALLWINNER_A20) || defined(PLAT_ALLWINNER_A23) || defined(PLAT_ALLWINNER_A31)
-               if (!wl->dev_irq_num &&
-                   wl->hif_func->disable_interrupt) {
-                       mutex_lock(&wl->hif_cs);
-                       wl->hif_func->disable_interrupt(wl);
-                       mutex_unlock(&wl->hif_cs);
-               }
-#endif
                wlan_deinit_locks(dev);
 
                wl->initialized = false;