[PATCH 4/7] platform: goldfish: pipe: Remove redundant dev_err()

From: Pan Chuang

Date: Fri Jul 17 2026 - 07:23:51 EST


Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_threaded_irq() automatically logs
detailed error messages on failure. Remove the now-redundant
driver-specific dev_err() calls.

Signed-off-by: Pan Chuang <panchuang@xxxxxxxx>
---
drivers/platform/goldfish/goldfish_pipe.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c
index fa241ca8feb0..f4f25c0a011c 100644
--- a/drivers/platform/goldfish/goldfish_pipe.c
+++ b/drivers/platform/goldfish/goldfish_pipe.c
@@ -810,10 +810,8 @@ static int goldfish_pipe_device_init(struct platform_device *pdev,
goldfish_pipe_interrupt,
goldfish_interrupt_task,
IRQF_SHARED, "goldfish_pipe", dev);
- if (err) {
- dev_err(&pdev->dev, "unable to allocate IRQ for v2\n");
+ if (err)
return err;
- }

init_miscdevice(&dev->miscdev);
err = misc_register(&dev->miscdev);
--
2.34.1