]> err.no Git - linux-2.6/commitdiff
libertas: remove check for driver_lock in lbs_interrupt()
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 18 Dec 2007 11:41:43 +0000 (11:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:07:52 +0000 (15:07 -0800)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/main.c

index 74353e1d72ff29b17cf99b0c63f097e6d760d750..91b2f2398a61f348ab9e69e1f9ece871fa3d659a 100644 (file)
@@ -1435,11 +1435,6 @@ void lbs_interrupt(struct lbs_private *priv)
 
        lbs_deb_thread("lbs_interrupt: intcounter=%d\n", priv->intcounter);
 
-       if (!spin_is_locked(&priv->driver_lock)) {
-               printk(KERN_CRIT "%s called without driver_lock held\n", __func__);
-               WARN_ON(1);
-       }
-
        priv->intcounter++;
 
        if (priv->psstate == PS_STATE_SLEEP)