aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/dma.c
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2008-03-22 20:08:22 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-03-24 19:25:09 -0400
commit7a193a5df7580957c918269e4ba2fccbe4141cb4 (patch)
treeb8cfa7298be6a051c9068a31eb2878bbc23fd430 /drivers/net/wireless/b43/dma.c
parentffa9256aaa28af24ea9d2a7d81b3b93b571226a3 (diff)
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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/dma.c b/drivers/net/wireless/b43/dma.c
index 766d955a9355..cfbc1a26f601 100644
--- a/drivers/net/wireless/b43/dma.c
+++ b/drivers/net/wireless/b43/dma.c
@@ -1344,6 +1344,7 @@ out_unlock:
1344 return err; 1344 return err;
1345} 1345}
1346 1346
1347/* Called with IRQs disabled. */
1347void b43_dma_handle_txstatus(struct b43_wldev *dev, 1348void b43_dma_handle_txstatus(struct b43_wldev *dev,
1348 const struct b43_txstatus *status) 1349 const struct b43_txstatus *status)
1349{ 1350{
@@ -1356,8 +1357,8 @@ void b43_dma_handle_txstatus(struct b43_wldev *dev,
1356 ring = parse_cookie(dev, status->cookie, &slot); 1357 ring = parse_cookie(dev, status->cookie, &slot);
1357 if (unlikely(!ring)) 1358 if (unlikely(!ring))
1358 return; 1359 return;
1359 B43_WARN_ON(!irqs_disabled()); 1360
1360 spin_lock(&ring->lock); 1361 spin_lock(&ring->lock); /* IRQs are already disabled. */
1361 1362
1362 B43_WARN_ON(!ring->tx); 1363 B43_WARN_ON(!ring->tx);
1363 ops = ring->ops; 1364 ops = ring->ops;