staging: wilc1000: use g_linux_wlan->txq_spinlock not the pointer of it
authorGlen Lee <glen.lee@atmel.com>
Thu, 24 Sep 2015 09:14:56 +0000 (18:14 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 00:39:58 +0000 (02:39 +0200)
commit85e57567f2ae6ff89648f7073d1b74dcc5620dc9
tree273f8a4864b4aa1d86dadad172dd6430df526572
parentef2b784c3006575fb6ffd6faed41c0f2d09abfb4
staging: wilc1000: use g_linux_wlan->txq_spinlock not the pointer of it

Use spinlock variable g_linux_wlan->txq_spinlock itself instead of
g_wlan.txq_spinlock which is pointer of g_linux_wlan->txq_spinlock.
Delete os_context.txq_spin_lock, g_wlan.txq_spinlock 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_wfi_netdevice.h
drivers/staging/wilc1000/wilc_wlan.c
drivers/staging/wilc1000/wilc_wlan_if.h