Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d59177cb authored by Glen Lee's avatar Glen Lee Committed by Greg Kroah-Hartman
Browse files

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: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a87d792b
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -979,17 +979,11 @@ void wilc1000_wlan_deinit(linux_wlan_t *nic)
#endif

		PRINT_D(INIT_DBG, "Disabling IRQ\n");
		#if (!defined WILC_SDIO) || (defined WILC_SDIO_IRQ_GPIO)
		#else
		  #if defined(PLAT_ALLWINNER_A20) || defined(PLAT_ALLWINNER_A23) || defined(PLAT_ALLWINNER_A31)

		  #else
#ifdef WILC_SDIO
		mutex_lock(&g_linux_wlan->hif_cs);
		disable_sdio_interrupt();
		mutex_unlock(&g_linux_wlan->hif_cs);
#endif
		#endif

		if (&g_linux_wlan->txq_event != NULL)
			up(&g_linux_wlan->txq_event);