staging: wilc1000: use g_linux_wlan->rxq_cs for function arguemnt
authorGlen Lee <glen.lee@atmel.com>
Thu, 24 Sep 2015 09:14:57 +0000 (18:14 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 00:39:58 +0000 (02:39 +0200)
commit645db60e47bbc26aef84e0110544ff34b7ecf454
tree13d077a9676d1e92e605261c512941a774e413ba
parent85e57567f2ae6ff89648f7073d1b74dcc5620dc9
staging: wilc1000: use g_linux_wlan->rxq_cs for function arguemnt

Use mutex variable g_linux_wlan->rxq_cs instead of pointer varialbe.
No need to make extra pointer variable for the mutex. Remove
rxq_critical_section, rxq_lock and it's related codes.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wlan.c
drivers/staging/wilc1000/wilc_wlan_if.h