]> err.no Git - linux-2.6/commitdiff
[PATCH] zd1211rw: Remove bogus assert
authorDaniel Drake <dsd@gentoo.org>
Tue, 1 Aug 2006 21:43:33 +0000 (23:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Aug 2006 18:26:50 +0000 (14:26 -0400)
This function is never called in interrupt context, and it doesn't
matter if it is called in IRQ context or not.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_usb.c

index 72f90525bf681a00b724ed171ee0ba708dc2e9c9..f9a93f6abe845b5de5438ef60f62ccf33a7974a0 100644 (file)
@@ -323,7 +323,6 @@ static void disable_read_regs_int(struct zd_usb *usb)
 {
        struct zd_usb_interrupt *intr = &usb->intr;
 
-       ZD_ASSERT(in_interrupt());
        spin_lock(&intr->lock);
        intr->read_regs_enabled = 0;
        spin_unlock(&intr->lock);