summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/linux_wlan.c
diff options
context:
space:
mode:
authorGlen Lee2015-11-06 10:40:14 +0100
committerGreg Kroah-Hartman2015-11-16 05:02:47 +0100
commit6f617f22cfdc8c9e19c763c22bfde6f9eef27308 (patch)
tree2c6e5ad108ef4974aa65f4f5646ee50dea614bff /drivers/staging/wilc1000/linux_wlan.c
parentstaging: wilc1000: remove function pointer spi_trx (diff)
downloadkernel-qcow2-linux-6f617f22cfdc8c9e19c763c22bfde6f9eef27308.tar.gz
kernel-qcow2-linux-6f617f22cfdc8c9e19c763c22bfde6f9eef27308.tar.xz
kernel-qcow2-linux-6f617f22cfdc8c9e19c763c22bfde6f9eef27308.zip
staging: wilc1000: remove spi_trx of wilc_wlan_io_func_t
This patch removes spi_trx of wilc_wlan_io_func_t which is not used anymore. 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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index 7a207658b98c..935314c54851 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -898,7 +898,6 @@ void linux_to_wlan(wilc_wlan_inp_t *nwi, struct wilc *nic)
nwi->io_func.io_type = HIF_SPI;
nwi->io_func.io_init = linux_spi_init;
nwi->io_func.io_deinit = linux_spi_deinit;
- nwi->io_func.u.spi.spi_trx = linux_spi_write_read;
nwi->io_func.u.spi.spi_max_speed = linux_spi_set_max_speed;
#endif
}