From: Vinod Koul Date: Wed, 6 Nov 2019 16:31:28 +0000 (+0530) Subject: dmaengine: milbeaut-xdmac: remove redundant error log X-Git-Tag: v5.5-rc1~78^2~14 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cdc3e306236bf3a43962683b283a36095c21c202;p=users%2Fjedix%2Flinux-maple.git dmaengine: milbeaut-xdmac: remove redundant error log platform_get_irq() prints the error message, so caller need not do so, remove the error line in this driver for platform_get_irq() Reported-by: kbuild test robot Signed-off-by: Vinod Koul Link: https://lore.kernel.org/r/20191106163128.1980714-2-vkoul@kernel.org Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/milbeaut-xdmac.c b/drivers/dma/milbeaut-xdmac.c index 3d5b1926a58d7..ab3d2f3953783 100644 --- a/drivers/dma/milbeaut-xdmac.c +++ b/drivers/dma/milbeaut-xdmac.c @@ -269,11 +269,8 @@ static int milbeaut_xdmac_chan_init(struct platform_device *pdev, int irq, ret; irq = platform_get_irq(pdev, chan_id); - if (irq < 0) { - dev_err(&pdev->dev, "failed to get IRQ number for ch%d\n", - chan_id); + if (irq < 0) return irq; - } irq_name = devm_kasprintf(dev, GFP_KERNEL, "milbeaut-xdmac-%d", chan_id);