summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlen Lee <glen.lee@atmel.com>2015-10-23 05:28:17 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-25 01:30:01 (GMT)
commit1ff0c8a97d3ec26ed3c7a26a74851a4b0fb515e3 (patch)
treed5599664e6354cdf4f8082977b3c1dafd50ee888
parent0c07f8c7ca0e2119065f4b3f497ad99304bdd8ea (diff)
downloadlinux-1ff0c8a97d3ec26ed3c7a26a74851a4b0fb515e3.tar.xz
staging: wilc1000: isr_bh_routine: remove unused variable nic
This patch removes unused variable nic. Signed-off-by: Glen Lee <glen.lee@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/wilc1000/linux_wlan.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index 1f6b165..9f899da 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -242,10 +242,6 @@ static irqreturn_t isr_uh_routine(int irq, void *user_data)
irqreturn_t isr_bh_routine(int irq, void *userdata)
{
- struct wilc *nic;
-
- nic = (struct wilc *)userdata;
-
/*While mac is closing cacncel the handling of any interrupts received*/
if (g_linux_wlan->close) {
PRINT_ER("Driver is CLOSING: Can't handle BH interrupt\n");