summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mwifiex/init.c
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2014-09-29 20:14:15 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-09-30 21:17:46 +0400
commitb48f8800bb08f87cded9adb992f04d94b1b77a11 (patch)
tree9643fbf33df521051df1706e7295b899a7442c91 /drivers/net/wireless/mwifiex/init.c
parentb43a0d9d01dbe498632e83632a2409a575fcee23 (diff)
downloadlinux-b48f8800bb08f87cded9adb992f04d94b1b77a11.tar.xz
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);