[PATCH -next] mei: gsc: Remove redundant dev_err call

Shang XiaoJing posted 1 patch 4 days, 17 hours ago
drivers/misc/mei/gsc-me.c | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] mei: gsc: Remove redundant dev_err call
Posted by Shang XiaoJing 4 days, 17 hours ago
devm_ioremap_resource() prints error message in itself. Remove the
dev_err call to avoid redundant error message.

Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
---
 drivers/misc/mei/gsc-me.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/misc/mei/gsc-me.c b/drivers/misc/mei/gsc-me.c
index 75765e4df4ed..e63cabd0818d 100644
--- a/drivers/misc/mei/gsc-me.c
+++ b/drivers/misc/mei/gsc-me.c
@@ -68,7 +68,6 @@ static int mei_gsc_probe(struct auxiliary_device *aux_dev,
 	hw = to_me_hw(dev);
 	hw->mem_addr = devm_ioremap_resource(device, &adev->bar);
 	if (IS_ERR(hw->mem_addr)) {
-		dev_err(device, "mmio not mapped\n");
 		ret = PTR_ERR(hw->mem_addr);
 		goto err;
 	}
-- 
2.17.1