libertas: don't spin_unlock_irq() twice
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Fri, 23 May 2008 08:07:56 +0000 (10:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 3 Jun 2008 19:00:15 +0000 (15:00 -0400)
commitb43441a49d1c64769ff90f34e9543b2ba840b517
tree77bc15646d3728155555bac3534989b8a397695b
parent23c0752a25d73ccc4547700e8a57d5ae2f2edf56
libertas: don't spin_unlock_irq() twice

priv->driver_lock has already been unlocked some lines above. This patch
fixes the sparse warning:

drivers/net/wireless/libertas/main.c:792:6: warning: context problem in 'lbs_thread': '_spin_unlock_irq' expected different context
drivers/net/wireless/libertas/main.c:792:6:    context 'lock': wanted >= 1, got 0

Signed-of-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/main.c