diff options
author | Glen Lee <glen.lee@atmel.com> | 2015-09-16 18:53:23 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-16 21:43:06 -0700 |
commit | ce25267907e15c8f69d54ba3fa02ae39aca7667f (patch) | |
tree | 974344100c16472a00701f954eb48debe36aba2f | |
parent | 25a84832bb662fb2d9966b7d0f9301d93023a6cf (diff) | |
download | linux-ce25267907e15c8f69d54ba3fa02ae39aca7667f.tar.bz2 |
staging: wilc1000: remove function linux_wlan_rxq_task
linux_wlan_rxq_task is not used in the driver. Just remove it.
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.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index 08d75abf6a88..de0477979e62 100644 --- a/drivers/staging/wilc1000/linux_wlan.c +++ b/drivers/staging/wilc1000/linux_wlan.c @@ -587,32 +587,6 @@ int linux_wlan_get_num_conn_ifcs(void) return ret_val; } -static int linux_wlan_rxq_task(void *vp) -{ - - /* inform wilc1000_wlan_init that RXQ task is started. */ - up(&g_linux_wlan->rxq_thread_started); - while (1) { - down(&g_linux_wlan->rxq_event); - /* wait_for_completion(&g_linux_wlan->rxq_event); */ - - if (g_linux_wlan->close) { - /*Unlock the mutex in the mac_close function to indicate the exiting of the RX thread */ - up(&g_linux_wlan->rxq_thread_started); - - while (!kthread_should_stop()) - schedule(); - - PRINT_D(RX_DBG, " RX thread stopped\n"); - break; - } - PRINT_D(RX_DBG, "Calling wlan_handle_rx_que()\n"); - - g_linux_wlan->oup.wlan_handle_rx_que(); - } - return 0; -} - #define USE_TX_BACKOFF_DELAY_IF_NO_BUFFERS static int linux_wlan_txq_task(void *vp) |