Skip to content

Commit 0950c7f

Browse files
committed
dmaengine: uniphier-xdmac: Remove redandant error log for platform_get_irq
platform_get_irq prints the error on failure, so there is no need to have caller add a log. Remove the log in uniphier_xdmac_probe() for platform_get_irq() failure Reported-by: kbuild test robot <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 6697255 commit 0950c7f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/dma/uniphier-xdmac.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -525,10 +525,8 @@ static int uniphier_xdmac_probe(struct platform_device *pdev)
525525
uniphier_xdmac_chan_init(xdev, i);
526526

527527
irq = platform_get_irq(pdev, 0);
528-
if (irq < 0) {
529-
dev_err(dev, "Failed to get IRQ\n");
528+
if (irq < 0)
530529
return irq;
531-
}
532530

533531
ret = devm_request_irq(dev, irq, uniphier_xdmac_irq_handler,
534532
IRQF_SHARED, "xdmac", xdev);

0 commit comments

Comments
 (0)