staging: wilc1000: isr_bh_routine: remove unused variable nic
authorGlen Lee <glen.lee@atmel.com>
Fri, 23 Oct 2015 05:28:17 +0000 (14:28 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 01:30:01 +0000 (18:30 -0700)
This patch removes unused variable nic.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c

index 1f6b16589622e65e0f859083ec31ef793ef95b48..9f899daca52405ce13450ded4ac6240d5ccdc2bc 100644 (file)
@@ -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");