staging: wilc1000: remove variable rxq_thread_started
authorGlen Lee <glen.lee@atmel.com>
Wed, 16 Sep 2015 09:53:24 +0000 (18:53 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2015 04:43:06 +0000 (21:43 -0700)
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>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h

index de0477979e627a9a6df0492abc19091f84a31eec..f104a23744e8af93e2bcbe82b3f7cd02940a88db 100644 (file)
@@ -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)
index 27c9ccfadab508fc1683277ef793678247fd038c..c68df360a3629322cfc3c80718e469dbe0af06c6 100644 (file)
@@ -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;
This page took 0.025757 seconds and 5 git commands to generate.