From 51f8a39911c3b7bf8466009eba87903d75d6192d Mon Sep 17 00:00:00 2001 From: Glen Lee Date: Wed, 16 Sep 2015 18:53:24 +0900 Subject: [PATCH] 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 Signed-off-by: Tony Cho Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wilc1000/linux_wlan.c | 1 - drivers/staging/wilc1000/wilc_wfi_netdevice.h | 1 - 2 files changed, 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; -- 2.34.1