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)
commit6617942e15a16e97a1e2e93cee26f45e26243f43
tree555b5a2e16369235c605551d5a125db711dbdeaf
parent80b08a8d8829a58b5db14b1417151094cc28face
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