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>
This commit is contained in:
parent
5844d12ea3
commit
7e94041ca1
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue