summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-st.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ohci-st.c')
-rw-r--r--drivers/usb/host/ohci-st.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/host/ohci-st.c b/drivers/usb/host/ohci-st.c
index 638a92bd2cdc..ac796ccd93ef 100644
--- a/drivers/usb/host/ohci-st.c
+++ b/drivers/usb/host/ohci-st.c
@@ -138,10 +138,8 @@ static int st_ohci_platform_probe(struct platform_device *dev)
return -ENODEV;
irq = platform_get_irq(dev, 0);
- if (irq < 0) {
- dev_err(&dev->dev, "no irq provided");
+ if (irq < 0)
return irq;
- }
res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0);
if (!res_mem) {