Commit ec32481b authored by Markus Elfring's avatar Markus Elfring Committed by Jassi Brar

mailbox: ZynqMP IPI: Delete an error message in zynqmp_ipi_probe()

The function platform_get_irq can log an error already.
Thus omit a redundant message for the exception handling in the
calling function.

This issue was detected by using the Coccinelle software.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 47303f94
...@@ -668,10 +668,9 @@ static int zynqmp_ipi_probe(struct platform_device *pdev) ...@@ -668,10 +668,9 @@ static int zynqmp_ipi_probe(struct platform_device *pdev)
/* IPI IRQ */ /* IPI IRQ */
ret = platform_get_irq(pdev, 0); ret = platform_get_irq(pdev, 0);
if (ret < 0) { if (ret < 0)
dev_err(dev, "unable to find IPI IRQ.\n");
goto free_mbox_dev; goto free_mbox_dev;
}
pdata->irq = ret; pdata->irq = ret;
ret = devm_request_irq(dev, pdata->irq, zynqmp_ipi_interrupt, ret = devm_request_irq(dev, pdata->irq, zynqmp_ipi_interrupt,
IRQF_SHARED, dev_name(dev), pdata); IRQF_SHARED, dev_name(dev), pdata);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment