diff options
author | Avinash Patil <patila@marvell.com> | 2014-09-29 12:14:15 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-30 13:17:46 -0400 |
commit | b48f8800bb08f87cded9adb992f04d94b1b77a11 (patch) | |
tree | 9643fbf33df521051df1706e7295b899a7442c91 /drivers/net/wireless/mwifiex/main.h | |
parent | b43a0d9d01dbe498632e83632a2409a575fcee23 (diff) |
mwifiex: remove unnecessary rx_q lock
SKB lists have their own lock. So this lock is not needed.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index 022486ed42f2..e2635747d966 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -764,8 +764,6 @@ struct mwifiex_adapter { | |||
764 | struct list_head scan_pending_q; | 764 | struct list_head scan_pending_q; |
765 | /* spin lock for scan_pending_q */ | 765 | /* spin lock for scan_pending_q */ |
766 | spinlock_t scan_pending_q_lock; | 766 | spinlock_t scan_pending_q_lock; |
767 | /* spin lock for RX queue */ | ||
768 | spinlock_t rx_q_lock; | ||
769 | /* spin lock for RX processing routine */ | 767 | /* spin lock for RX processing routine */ |
770 | spinlock_t rx_proc_lock; | 768 | spinlock_t rx_proc_lock; |
771 | struct sk_buff_head usb_rx_data_q; | 769 | struct sk_buff_head usb_rx_data_q; |