summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/linux_wlan.c
diff options
context:
space:
mode:
authorGlen Lee2015-11-06 10:40:18 +0100
committerGreg Kroah-Hartman2015-11-16 05:02:47 +0100
commit060a8a23f51c4ccc0ec70619e8f70d93870ef081 (patch)
treed3e34fa43631f105c63e23305d28a6508164d590 /drivers/staging/wilc1000/linux_wlan.c
parentstaging: wilc1000: remove function pointer io_init (diff)
downloadkernel-qcow2-linux-060a8a23f51c4ccc0ec70619e8f70d93870ef081.tar.gz
kernel-qcow2-linux-060a8a23f51c4ccc0ec70619e8f70d93870ef081.tar.xz
kernel-qcow2-linux-060a8a23f51c4ccc0ec70619e8f70d93870ef081.zip
staging: wilc1000: remove unused function pointer io_deinit
This patch removes function pointer io_deinit which is never used, and delete it's related codes also. Signed-off-by: Glen Lee <glen.lee@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/linux_wlan.c')
-rw-r--r--drivers/staging/wilc1000/linux_wlan.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index 119f55d8b756..00bc890f1662 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -892,10 +892,8 @@ void linux_to_wlan(wilc_wlan_inp_t *nwi, struct wilc *nic)
#ifdef WILC_SDIO
nwi->io_func.io_type = HIF_SDIO;
- nwi->io_func.io_deinit = linux_sdio_deinit;
#else
nwi->io_func.io_type = HIF_SPI;
- nwi->io_func.io_deinit = linux_spi_deinit;
#endif
}