aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2018-06-25 00:08:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-28 19:36:06 +0900
commit7375fc9f5f162e783661ee9cdb85a62ec5f6b6d5 (patch)
tree714cee3a393adf37a83a6ec78fa7136454ca2207 /tools/perf/scripts/python
parentusb: usb-skeleton: use irqsave() in USB's complete callback (diff)
downloadlinux-7375fc9f5f162e783661ee9cdb85a62ec5f6b6d5.tar.gz
linux-7375fc9f5f162e783661ee9cdb85a62ec5f6b6d5.zip
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions