UPSTREAM: scsi: ufs: qcom: Remove redundant dev_err() call

devm_ioremap_resource() already prints an error message. Remove the
redundant dev_err() call.

Link: https://lore.kernel.org/r/20220923101217.18345-1-shangxiaojing@huawei.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Change-Id: I05cf7f73e059bd278ca2ec80278438c47d99fa55
Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 07e433614c)
Bug: 258234315
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
Shang XiaoJing
2022-09-23 18:12:17 +08:00
committed by Bart Van Assche
parent 1ac96bd1cc
commit 7a770175ad

View File

@@ -118,7 +118,6 @@ int ufs_qcom_ice_init(struct ufs_qcom_host *host)
host->ice_mmio = devm_ioremap_resource(dev, res);
if (IS_ERR(host->ice_mmio)) {
err = PTR_ERR(host->ice_mmio);
dev_err(dev, "Failed to map ICE registers; err=%d\n", err);
return err;
}