Commit 51f8a399 authored by Glen Lee's avatar Glen Lee Committed by Greg Kroah-Hartman
Browse files

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: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ce252679
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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)
+0 −1
Original line number Diff line number Diff line
@@ -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;