aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/dma
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2020-03-23 22:49:28 +0530
committerVinod Koul <vkoul@kernel.org>2020-03-26 12:22:56 +0530
commit0950c7fdf7873af33ba2c7cc5cc0ea1ebea9bc51 (patch)
tree096bd2678a7ff784777d5d092e7f55855301d0de /drivers/dma
parentdmaengine: tegra-apb: Improve DMA synchronization (diff)
downloadwireguard-linux-0950c7fdf7873af33ba2c7cc5cc0ea1ebea9bc51.tar.xz
wireguard-linux-0950c7fdf7873af33ba2c7cc5cc0ea1ebea9bc51.zip
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 <lkp@intel.com> Link: https://lore.kernel.org/r/20200323171928.424223-1-vkoul@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/uniphier-xdmac.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/dma/uniphier-xdmac.c b/drivers/dma/uniphier-xdmac.c
index 2f6fd518d180..7b2f8a8c2d31 100644
--- a/drivers/dma/uniphier-xdmac.c
+++ b/drivers/dma/uniphier-xdmac.c
@@ -525,10 +525,8 @@ static int uniphier_xdmac_probe(struct platform_device *pdev)
uniphier_xdmac_chan_init(xdev, i);
irq = platform_get_irq(pdev, 0);
- if (irq < 0) {
- dev_err(dev, "Failed to get IRQ\n");
+ if (irq < 0)
return irq;
- }
ret = devm_request_irq(dev, irq, uniphier_xdmac_irq_handler,
IRQF_SHARED, "xdmac", xdev);