summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/init.c
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2014-09-29 18:14:15 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-09-30 19:17:46 +0200
commitb48f8800bb08f87cded9adb992f04d94b1b77a11 (patch)
tree9643fbf33df521051df1706e7295b899a7442c91 /drivers/net/wireless/mwifiex/init.c
parentmwifiex: do not decrement rx_pending count twice (diff)
downloadlinux-b48f8800bb08f87cded9adb992f04d94b1b77a11.tar.xz
linux-b48f8800bb08f87cded9adb992f04d94b1b77a11.zip
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/init.c')
-rw-r--r--drivers/net/wireless/mwifiex/init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/init.c b/drivers/net/wireless/mwifiex/init.c
index f7c97cf3840b..580aa45ec4bc 100644
--- a/drivers/net/wireless/mwifiex/init.c
+++ b/drivers/net/wireless/mwifiex/init.c
@@ -447,7 +447,6 @@ int mwifiex_init_lock_list(struct mwifiex_adapter *adapter)
spin_lock_init(&adapter->cmd_free_q_lock);
spin_lock_init(&adapter->cmd_pending_q_lock);
spin_lock_init(&adapter->scan_pending_q_lock);
- spin_lock_init(&adapter->rx_q_lock);
spin_lock_init(&adapter->rx_proc_lock);
skb_queue_head_init(&adapter->usb_rx_data_q);