mirror of https://gitee.com/openkylin/linux.git
usb: host: ehci-tegra: Remove superfluous dev_err() message
The platform_get_irq() can print error message,so remove the redundant dev_err() here. Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Acked-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20200406055530.10860-1-tangbin@cmss.chinamobile.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8f3d9f3542
commit
aa5ab36aed
|
@ -480,7 +480,6 @@ static int tegra_ehci_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
irq = platform_get_irq(pdev, 0);
|
irq = platform_get_irq(pdev, 0);
|
||||||
if (!irq) {
|
if (!irq) {
|
||||||
dev_err(&pdev->dev, "Failed to get IRQ\n");
|
|
||||||
err = -ENODEV;
|
err = -ENODEV;
|
||||||
goto cleanup_phy;
|
goto cleanup_phy;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue