aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/main.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-18 06:41:43 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:07:52 -0500
commit7e94041ca17685cf12c658b8edc008dd0bdb00c7 (patch)
tree05228f8460928601ea5116aa4ab48d71c347d0c6 /drivers/net/wireless/libertas/main.c
parent5844d12ea30bacae9224db6561a16e86ad31c6e5 (diff)
libertas: remove check for driver_lock in lbs_interrupt()
Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r--drivers/net/wireless/libertas/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
index 74353e1d72ff..91b2f2398a61 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -1435,11 +1435,6 @@ void lbs_interrupt(struct lbs_private *priv)
1435 1435
1436 lbs_deb_thread("lbs_interrupt: intcounter=%d\n", priv->intcounter); 1436 lbs_deb_thread("lbs_interrupt: intcounter=%d\n", priv->intcounter);
1437 1437
1438 if (!spin_is_locked(&priv->driver_lock)) {
1439 printk(KERN_CRIT "%s called without driver_lock held\n", __func__);
1440 WARN_ON(1);
1441 }
1442
1443 priv->intcounter++; 1438 priv->intcounter++;
1444 1439
1445 if (priv->psstate == PS_STATE_SLEEP) 1440 if (priv->psstate == PS_STATE_SLEEP)