Merge tag 'dmaengine-5.4-rc1' of git://git.infradead.org/users/vkoul/slave-dma
[linux-2.6-block.git] / drivers / dma / sh / rcar-dmac.c
index 1072c450c37ab89d7c78ea0f521927fcb13410ae..3993ab65c62cd34469f755cfdcac52da98f96fef 100644 (file)
@@ -1749,10 +1749,8 @@ static int rcar_dmac_chan_probe(struct rcar_dmac *dmac,
        /* Request the channel interrupt. */
        sprintf(pdev_irqname, "ch%u", index);
        rchan->irq = platform_get_irq_byname(pdev, pdev_irqname);
-       if (rchan->irq < 0) {
-               dev_err(dmac->dev, "no IRQ specified for channel %u\n", index);
+       if (rchan->irq < 0)
                return -ENODEV;
-       }
 
        irqname = devm_kasprintf(dmac->dev, GFP_KERNEL, "%s:%u",
                                 dev_name(dmac->dev), index);