linux/drivers/usb/wusbcore
John Ogness 7375fc9f5f usb: wusbcore: remove excessive irqsave
wa_urb_dequeue() locks multiple spinlocks while disabling interrupts:

   spin_lock_irqsave(&lock1, flags);
   spin_lock_irqsave(&lock2, flags2);

Obviously there is no need for the second irqsave and "flags2" variable
since interrupts are disabled at that point. Remove the second irqsave:

   spin_lock_irqsave(&lock1, flags);
   spin_lock(&lock2);

and eliminate the flags2 variable.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-28 19:36:06 +09:00
..
cbaf.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
crypto.c USB: wusbcore: crypto: Remove VLA usage 2018-03-16 15:40:19 +01:00
dev-sysfs.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
devconnect.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
Kconfig usb: wusbcore: USB_WUSB_CBAF depends on USB 2014-09-23 22:06:33 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mmc.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
pal.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
reservation.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
rh.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
security.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
wa-hc.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
wa-hc.h USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
wa-nep.c USB: wusbcore: remove redundant re-assignment to pointer 'dev' 2018-03-09 09:16:19 -08:00
wa-rpipe.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
wa-xfer.c usb: wusbcore: remove excessive irqsave 2018-06-28 19:36:06 +09:00
wusbhc.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
wusbhc.h USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00