Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: wilc1000: remove do-nothing ifdef statement

This patch removes do-nothing ifdef, else statement and add ifdef WILC_SDIO
for disable_sdio_interrupt().

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Glen Lee and committed by
Greg Kroah-Hartman
d59177cb a87d792b

+2 -8
+2 -8
drivers/staging/wilc1000/linux_wlan.c
··· 979 979 #endif 980 980 981 981 PRINT_D(INIT_DBG, "Disabling IRQ\n"); 982 - #if (!defined WILC_SDIO) || (defined WILC_SDIO_IRQ_GPIO) 983 - #else 984 - #if defined(PLAT_ALLWINNER_A20) || defined(PLAT_ALLWINNER_A23) || defined(PLAT_ALLWINNER_A31) 985 - 986 - #else 982 + #ifdef WILC_SDIO 987 983 mutex_lock(&g_linux_wlan->hif_cs); 988 984 disable_sdio_interrupt(); 989 985 mutex_unlock(&g_linux_wlan->hif_cs); 990 - #endif 991 - #endif 992 - 986 + #endif 993 987 if (&g_linux_wlan->txq_event != NULL) 994 988 up(&g_linux_wlan->txq_event); 995 989