[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260115023516.4142364-1-nichen@iscas.ac.cn>
Date: Thu, 15 Jan 2026 10:35:16 +0800
From: Chen Ni <nichen@...as.ac.cn>
To: dan.scally@...asonboard.com,
jacopo.mondi@...asonboard.com,
mchehab@...nel.org
Cc: linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org,
Chen Ni <nichen@...as.ac.cn>
Subject: [PATCH] media: mali-c55: core: Remove redundant dev_err()
The platform_get_irq_byname() function already prints an error message
internally upon failure using dev_err_probe(). Therefore, the explicit
dev_err() is redundant and results in duplicate error logs.
Remove the redundant dev_err() call to clean up the error path.
Signed-off-by: Chen Ni <nichen@...as.ac.cn>
---
drivers/media/platform/arm/mali-c55/mali-c55-core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/media/platform/arm/mali-c55/mali-c55-core.c b/drivers/media/platform/arm/mali-c55/mali-c55-core.c
index 43b834459ccf..ab8f7f6f3be1 100644
--- a/drivers/media/platform/arm/mali-c55/mali-c55-core.c
+++ b/drivers/media/platform/arm/mali-c55/mali-c55-core.c
@@ -868,7 +868,6 @@ static int mali_c55_probe(struct platform_device *pdev)
mali_c55->irqnum = platform_get_irq(pdev, 0);
if (mali_c55->irqnum < 0) {
ret = mali_c55->irqnum;
- dev_err(dev, "failed to get interrupt\n");
goto err_deinit_media_frameworks;
}
--
2.25.1
Powered by blists - more mailing lists