From 6e55d288c32f63ab157e47e9a5a4b86117e5d24c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 18 Feb 2016 22:22:48 +0100 Subject: [PATCH] mt7603: remove unnecessary locking Signed-off-by: Felix Fietkau --- mt7603_mac.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mt7603_mac.c b/mt7603_mac.c index f572aae3..6f926798 100644 --- a/mt7603_mac.c +++ b/mt7603_mac.c @@ -432,7 +432,6 @@ mt7603_mac_write_txwi(struct mt7603_dev *dev, __le32 *txwi, ); txwi[6] = 0; - spin_lock_bh(&dev->mt76.lock); if (rate->idx >= 0 && rate->count) { bool stbc = info->flags & IEEE80211_TX_CTL_STBC; u16 rateval = mt7603_mac_tx_rate_val(dev, rate, stbc, &bw); @@ -449,7 +448,6 @@ mt7603_mac_write_txwi(struct mt7603_dev *dev, __le32 *txwi, tx_count = rate->count; } - spin_unlock_bh(&dev->mt76.lock); txwi[3] = cpu_to_le32(MT76_SET(MT_TXD3_REM_TX_COUNT, tx_count));