summaryrefslogtreecommitdiffstats
path: root/drivers/ufs
diff options
context:
space:
mode:
authorShang XiaoJing <shangxiaojing@huawei.com>2022-09-23 12:12:17 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2022-10-01 11:29:02 +0200
commit07e433614cdb91e6f85cc79d738bb0a3d8c741a2 (patch)
treebfde2953092992b8ac87ba81f75170b9c358ddd4 /drivers/ufs
parentscsi: megaraid_sas: Move megasas_dbg_lvl init to megasas_init() (diff)
downloadlinux-07e433614cdb91e6f85cc79d738bb0a3d8c741a2.tar.xz
linux-07e433614cdb91e6f85cc79d738bb0a3d8c741a2.zip
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> Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ufs')
-rw-r--r--drivers/ufs/host/ufs-qcom-ice.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ufs/host/ufs-qcom-ice.c b/drivers/ufs/host/ufs-qcom-ice.c
index 745e48ec598f..62387ccd5b30 100644
--- a/drivers/ufs/host/ufs-qcom-ice.c
+++ b/drivers/ufs/host/ufs-qcom-ice.c
@@ -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;
}