Skip to content

Commit 8f64c2a

Browse files
Tang Binvinodkoul
authored andcommitted
dmaengine: xilinx_dpdma: Omit superfluous error message in xilinx_dpdma_probe()
In the function xilinx_dpdma_probe(), when get irq failed, the function platform_get_irq() logs an error message, so remove redundant message here. Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Link: https://lore.kernel.org/r/20220519130855.7664-1-tangbin@cmss.chinamobile.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent a94a098 commit 8f64c2a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

drivers/dma/xilinx/xilinx_dpdma.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,10 +1652,8 @@ static int xilinx_dpdma_probe(struct platform_device *pdev)
16521652
dpdma_hw_init(xdev);
16531653

16541654
xdev->irq = platform_get_irq(pdev, 0);
1655-
if (xdev->irq < 0) {
1656-
dev_err(xdev->dev, "failed to get platform irq\n");
1655+
if (xdev->irq < 0)
16571656
return xdev->irq;
1658-
}
16591657

16601658
ret = request_irq(xdev->irq, xilinx_dpdma_irq_handler, IRQF_SHARED,
16611659
dev_name(xdev->dev), xdev);

0 commit comments

Comments
 (0)