Skip to content

Commit

Permalink
libertas: remove check for driver_lock in lbs_interrupt()
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
David Woodhouse authored and David S. Miller committed Jan 28, 2008
1 parent 5844d12 commit 7e94041
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/net/wireless/libertas/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7e94041

Please sign in to comment.