From: David Woodhouse Date: Tue, 18 Dec 2007 11:41:43 +0000 (+0000) Subject: libertas: remove check for driver_lock in lbs_interrupt() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7e94041ca17685cf12c658b8edc008dd0bdb00c7;p=openwrt%2Fstaging%2Fblogic.git libertas: remove check for driver_lock in lbs_interrupt() Signed-off-by: David Woodhouse Signed-off-by: John W. Linville --- 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) 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)