dmaengine: milbeaut-hdmac: remove redundant error log
authorVinod Koul <vkoul@kernel.org>
Wed, 6 Nov 2019 16:31:27 +0000 (22:01 +0530)
committerVinod Koul <vkoul@kernel.org>
Fri, 8 Nov 2019 03:56:17 +0000 (09:26 +0530)
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 <lkp@intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20191106163128.1980714-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/milbeaut-hdmac.c

index 2bb3353..8853d44 100644 (file)
@@ -431,11 +431,8 @@ static int milbeaut_hdmac_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-hdmac-%d",
                                  chan_id);