mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-05 03:35:55 +07:00
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>
This commit is contained in:
parent
340a84ff96
commit
5510730d5f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user