From: Ricardo Ribalda Date: Fri, 18 Oct 2024 14:24:59 +0000 (+0000) Subject: media: raspberrypi: Remove redundant "no IRQ" message X-Git-Tag: v6.13-rc1~149^2~68 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3bb5080293a3c96a41dd707db64ab8c7d8c471ae;p=thirdparty%2Fkernel%2Fstable.git media: raspberrypi: Remove redundant "no IRQ" message platform_get_irq() already provides a error message. This fixes the following cocci error: drivers/media/platform/raspberrypi/rp1-cfe/cfe.c:2326:2-9: line 2326 is redundant because platform_get_irq() already prints an error Signed-off-by: Ricardo Ribalda Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c b/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c index da9e1a1e4d0d8..ac28089564b2c 100644 --- a/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c +++ b/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c @@ -2323,7 +2323,6 @@ static int cfe_probe(struct platform_device *pdev) ret = platform_get_irq(pdev, 0); if (ret <= 0) { - dev_err(&pdev->dev, "No IRQ resource\n"); ret = -EINVAL; goto err_cfe_put; }