[PATCH] drm/fsl-dcu: remove redundant platform_get_irq error message

From: Tian Tao
Date: Mon Nov 09 2020 - 21:25:55 EST


Function dev_err() after platform_get_irq() is redundant because
platform_get_irq() already prints an error.

Signed-off-by: Tian Tao <tiantao6@xxxxxxxxxxxxx>
---
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
index 7528e8a..476b196 100644
--- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
+++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
@@ -259,7 +259,6 @@ static int fsl_dcu_drm_probe(struct platform_device *pdev)

fsl_dev->irq = platform_get_irq(pdev, 0);
if (fsl_dev->irq < 0) {
- dev_err(dev, "failed to get irq\n");
return fsl_dev->irq;
}

--
2.7.4