summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlen Lee <glen.lee@atmel.com>2015-09-16 18:53:24 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-16 21:43:06 -0700
commit51f8a39911c3b7bf8466009eba87903d75d6192d (patch)
tree73de4adf054196081bab7352b4f36132b0f4a378
parentce25267907e15c8f69d54ba3fa02ae39aca7667f (diff)
downloadlinux-51f8a39911c3b7bf8466009eba87903d75d6192d.tar.bz2
staging: wilc1000: remove variable rxq_thread_started
rxq_thread_started is initiallized but never used in the driver. Remove the variable and init code line. 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>
-rw-r--r--drivers/staging/wilc1000/linux_wlan.c1
-rw-r--r--drivers/staging/wilc1000/wilc_wfi_netdevice.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index de0477979e62..f104a23744e8 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -1161,7 +1161,6 @@ int wlan_init_locks(linux_wlan_t *p_nic)
sema_init(&g_linux_wlan->cfg_event, 0);
sema_init(&g_linux_wlan->sync_event, 0);
- sema_init(&g_linux_wlan->rxq_thread_started, 0);
sema_init(&g_linux_wlan->txq_thread_started, 0);
#if (RX_BH_TYPE == RX_BH_KTHREAD)
diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
index 27c9ccfadab5..c68df360a362 100644
--- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h
+++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
@@ -198,7 +198,6 @@ typedef struct {
struct task_struct *rx_bh_thread;
struct semaphore rx_sem;
#endif
- struct semaphore rxq_thread_started;
struct semaphore txq_thread_started;
struct task_struct *rxq_thread;