diff options
author | Leo Kim <leo.kim@atmel.com> | 2016-03-25 21:16:51 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-28 07:30:36 -0700 |
commit | 5510730d5f95a37e9de29597e8e7328103bbaf60 (patch) | |
tree | a42ea2e6fde77f6313fd24f4949a60a3ff735f8c /drivers/staging/wilc1000 | |
parent | 340a84ff96c4d9effbc841a085e2101c3977e5cf (diff) | |
download | op-kernel-dev-5510730d5f95a37e9de29597e8e7328103bbaf60.zip op-kernel-dev-5510730d5f95a37e9de29597e8e7328103bbaf60.tar.gz |
staging: wilc1000: removes unused dead codes
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>
Diffstat (limited to 'drivers/staging/wilc1000')
-rw-r--r-- | drivers/staging/wilc1000/linux_wlan.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index 760d44d1..db624ef 100644 --- a/drivers/staging/wilc1000/linux_wlan.c +++ b/drivers/staging/wilc1000/linux_wlan.c @@ -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; |