summaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorPan Chuang <panchuang@vivo.com>2026-07-31 11:54:40 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-09-01 16:27:30 +0200
commitfd5f88c85cfbc500ab48fb5c74777bfc178f4394 (patch)
tree623ccb208507292bcee8b1279932d17a7b9d7433 /drivers/usb/host
parentc936c57e74a1bd6870c4e57d4545ca1a989999d7 (diff)
downloadlinux-next-fd5f88c85cfbc500ab48fb5c74777bfc178f4394.tar.gz
linux-next-fd5f88c85cfbc500ab48fb5c74777bfc178f4394.zip
usb: host: xhci-tegra: Remove redundant dev_err()
Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in devm_request_*_irq()"), devm_request_threaded_irq() automatically logs detailed error messages on failure. Remove the now-redundant driver-specific dev_err() calls. Signed-off-by: Pan Chuang <panchuang@vivo.com> Link: https://patch.msgid.link/20260731035448.252289-7-panchuang@vivo.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/xhci-tegra.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c
index 6f235d1e117e..15dfa7e1a7dd 100644
--- a/drivers/usb/host/xhci-tegra.c
+++ b/drivers/usb/host/xhci-tegra.c
@@ -1909,20 +1909,16 @@ static int tegra_xusb_probe(struct platform_device *pdev)
tegra_xusb_mbox_irq,
tegra_xusb_mbox_thread, 0,
dev_name(&pdev->dev), tegra);
- if (err < 0) {
- dev_err(&pdev->dev, "failed to request IRQ: %d\n", err);
+ if (err < 0)
goto remove_usb3;
- }
if (tegra->padctl_irq) {
err = devm_request_threaded_irq(&pdev->dev, tegra->padctl_irq,
NULL, tegra_xusb_padctl_irq,
IRQF_ONESHOT, dev_name(&pdev->dev),
tegra);
- if (err < 0) {
- dev_err(&pdev->dev, "failed to request padctl IRQ: %d\n", err);
+ if (err < 0)
goto remove_usb3;
- }
}
err = tegra_xusb_enable_firmware_messages(tegra);