mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] zd1211rw: Remove bogus assert
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 <[email protected]> Signed-off-by: Ulrich Kunitz <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
40da08bca6
commit
b1162b639c
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue