]> Pileus Git - ~andy/linux/commit
usb/hcd: remove unnecessary local_irq_save
authorMichael Opdenacker <michael.opdenacker@free-electrons.com>
Sun, 13 Oct 2013 07:14:19 +0000 (09:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Oct 2013 18:09:12 +0000 (11:09 -0700)
commit88ed9fd50e573fee332ca1e07641102b59f743fe
tree1ba3be7f14db8754f9ea1be784e1f4915077ae41
parenta393a807d0c805e7c723315ff0e88a857055e9c6
usb/hcd: remove unnecessary local_irq_save

Remove the use of local_irq_save() and IRQF_DISABLED, no longer needed since
interrupt handlers are always run with interrupts disabled on the
current CPU.

Tested successfully with 3.12.0-rc4 on my PC. Didn't find
any issue because of this change.

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd.c