]> Git Repo - linux.git/commit
ath5k: remove _bh from inner locks
authorBob Copeland <[email protected]>
Fri, 15 Jun 2012 20:03:29 +0000 (16:03 -0400)
committerJohn W. Linville <[email protected]>
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 <[email protected]>
Signed-off-by: Bob Copeland <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/ath/ath5k/base.c
This page took 0.050534 seconds and 4 git commands to generate.