summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-at91.c
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2023-07-26 14:37:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-07-27 11:24:08 +0300
commitad089faf79e5ab949a301d60611842254060adb6 (patch)
tree575f0070c0399d7a20c7295c39470aa9dda60cff /drivers/usb/host/ohci-at91.c
parentf62d9201b0427802a9443082507b6a7d4184f818 (diff)
downloadlinux-ad089faf79e5ab949a301d60611842254060adb6.tar.xz
usb: ohci-at91: Remove redundant msg at probe time
platform_get_irq() directly prints error information. Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev> Link: https://lore.kernel.org/r/20230726113816.888-4-frank.li@vivo.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-at91.c')
-rw-r--r--drivers/usb/host/ohci-at91.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c
index 7ed9a3bcea55..dc31a7fa7ca4 100644
--- a/drivers/usb/host/ohci-at91.c
+++ b/drivers/usb/host/ohci-at91.c
@@ -190,10 +190,8 @@ static int usb_hcd_at91_probe(const struct hc_driver *driver,
int irq;
irq = platform_get_irq(pdev, 0);
- if (irq < 0) {
- dev_dbg(dev, "hcd probe: missing irq resource\n");
+ if (irq < 0)
return irq;
- }
hcd = usb_create_hcd(driver, dev, "at91");
if (!hcd)