diff options
author | Michael Buesch <mb@bu3sch.de> | 2008-03-23 01:08:22 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-24 19:25:09 -0400 |
commit | 7a193a5df7580957c918269e4ba2fccbe4141cb4 (patch) | |
tree | b8cfa7298be6a051c9068a31eb2878bbc23fd430 /drivers/net/wireless/b43/dma.c | |
parent | ffa9256aaa28af24ea9d2a7d81b3b93b571226a3 (diff) | |
download | kernel_samsung_tuna-7a193a5df7580957c918269e4ba2fccbe4141cb4.zip kernel_samsung_tuna-7a193a5df7580957c918269e4ba2fccbe4141cb4.tar.gz kernel_samsung_tuna-7a193a5df7580957c918269e4ba2fccbe4141cb4.tar.bz2 |
b43: Remove irqs_disabled() sanity checks
Remove all irqs_disabled() sanity checks, as they are not safe on
a RT-enabled kernel and will trigger bogus warnings.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/dma.c')
-rw-r--r-- | drivers/net/wireless/b43/dma.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/dma.c b/drivers/net/wireless/b43/dma.c index 766d955..cfbc1a2 100644 --- a/drivers/net/wireless/b43/dma.c +++ b/drivers/net/wireless/b43/dma.c @@ -1344,6 +1344,7 @@ out_unlock: return err; } +/* Called with IRQs disabled. */ void b43_dma_handle_txstatus(struct b43_wldev *dev, const struct b43_txstatus *status) { @@ -1356,8 +1357,8 @@ void b43_dma_handle_txstatus(struct b43_wldev *dev, ring = parse_cookie(dev, status->cookie, &slot); if (unlikely(!ring)) return; - B43_WARN_ON(!irqs_disabled()); - spin_lock(&ring->lock); + + spin_lock(&ring->lock); /* IRQs are already disabled. */ B43_WARN_ON(!ring->tx); ops = ring->ops; |