[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210624024139.23879-1-13145886936@163.com>
Date: Wed, 23 Jun 2021 19:41:39 -0700
From: 13145886936@....com
To: linux@...linux.org.uk, linux-arm-kernel@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, gushengxian <gushengxian@...ong.com>
Subject: [PATCH] ARM: pxa: ssp: remove unnecessary print function dev_err()
From: gushengxian <gushengxian@...ong.com>
The print function dev_err() is redundant because
platform_get_irq() already prints an error.
Signed-off-by: gushengxian <gushengxian@...ong.com>
---
arch/arm/plat-pxa/ssp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/plat-pxa/ssp.c b/arch/arm/plat-pxa/ssp.c
index 563440315acd..96b8765e4f57 100644
--- a/arch/arm/plat-pxa/ssp.c
+++ b/arch/arm/plat-pxa/ssp.c
@@ -147,7 +147,6 @@ static int pxa_ssp_probe(struct platform_device *pdev)
ssp->irq = platform_get_irq(pdev, 0);
if (ssp->irq < 0) {
- dev_err(dev, "no IRQ resource defined\n");
return -ENODEV;
}
--
2.25.1
Powered by blists - more mailing lists