]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: remove _bh from inner locks
authorBob Copeland <me@bobcopeland.com>
Fri, 15 Jun 2012 20:03:29 +0000 (16:03 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Jun 2012 18:56:25 +0000 (14:56 -0400)
commit5ab8023ab851eb901b2230b03d07d2af827f9b9d
tree555b5a2e16369235c605551d5a125db711dbdeaf
parent1ea55266a954fda2d0008b1ba4c02f69b214d627
ath5k: remove _bh from inner locks

spin_unlock_bh(&txq->lock) already disables softirqs so we don't want
to do it here.  Fixes smatch warnings:

   drivers/net/wireless/ath/ath5k/base.c:1048 ath5k_drain_tx_buffs() error: double lock 'bottom_half:'
   drivers/net/wireless/ath/ath5k/base.c:1056 ath5k_drain_tx_buffs() error: double unlock 'bottom_half:'

Reported-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c