summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-xls.c
diff options
context:
space:
mode:
authorChuansheng Liu <chuansheng.liu@intel.com>2012-09-11 10:00:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-11 05:22:35 +0200
commit73d4066055e0e2830533041f4b91df8e6e5976ff (patch)
treeac6d996069c1c0afc65abe0404427d6ffbfa5fb5 /drivers/usb/host/ohci-xls.c
parentusb: add little-endian transform for DeviceRemovable of usb3.0 hub (diff)
downloadlinux-73d4066055e0e2830533041f4b91df8e6e5976ff.tar.xz
linux-73d4066055e0e2830533041f4b91df8e6e5976ff.zip
USB/host: Cleanup unneccessary irq disable code
Because the IRQF_DISABLED as the flag is now a NOOP and has been deprecated and in hardirq context the interrupt is disabled. so in usb/host code: Removing the usage of flag IRQF_DISABLED; Removing the calling local_irq save/restore actions in irq handler usb_hcd_irq(); Signed-off-by: liu chuansheng <chuansheng.liu@intel.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-xls.c')
-rw-r--r--drivers/usb/host/ohci-xls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-xls.c b/drivers/usb/host/ohci-xls.c
index 41e378f17c66..84201cd1a472 100644
--- a/drivers/usb/host/ohci-xls.c
+++ b/drivers/usb/host/ohci-xls.c
@@ -56,7 +56,7 @@ static int ohci_xls_probe_internal(const struct hc_driver *driver,
goto err3;
}
- retval = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
+ retval = usb_add_hcd(hcd, irq, IRQF_SHARED);
if (retval != 0)
goto err4;
return retval;