Skip to content

Commit 07e4336

Browse files
Shang XiaoJingmartinkpetersen
authored andcommitted
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/[email protected] Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Shang XiaoJing <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 27b571c commit 07e4336

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/ufs/host/ufs-qcom-ice.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ int ufs_qcom_ice_init(struct ufs_qcom_host *host)
118118
host->ice_mmio = devm_ioremap_resource(dev, res);
119119
if (IS_ERR(host->ice_mmio)) {
120120
err = PTR_ERR(host->ice_mmio);
121-
dev_err(dev, "Failed to map ICE registers; err=%d\n", err);
122121
return err;
123122
}
124123

0 commit comments

Comments
 (0)