# \[PATCH -next\] video: mxsfb: remove redundant dev\_err call in mxsfb\_probe()

- From: Wei Yongjun \<hidden\>
- Date: 2013-06-26 01:50:50 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/06/8073916
- Thread: https://ratatoskr.run/linux-devicetree/2013/06/8073916/t.md

```text
From: Wei Yongjun <redacted>

There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.

Signed-off-by: Wei Yongjun <redacted>
---
 drivers/video/mxsfb.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index 21223d4..251bbec 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/video/mxsfb.c
@@ -899,7 +899,6 @@ static int mxsfb_probe(struct platform_device *pdev)
 
 	host->base = devm_ioremap_resource(&pdev->dev, res);
 	if (IS_ERR(host->base)) {
-		dev_err(&pdev->dev, "ioremap failed\n");
 		ret = PTR_ERR(host->base);
 		goto fb_release;
 	}

```
