scsi: ufs: Remove redundant dev_err call
Subsystems (3)
PATCH 1/1 scsi: ufs: Remove redundant dev_err call
devm_ioremap_resource() prints error message in itself. Remove the dev_err call to avoid redundant error message.
Signed-off-by Shang XiaoJing <[email protected]>
--- drivers/ufs/host/ufs-qcom-ice.c | 1 - 1 file changed, 1 deletion(-)
drivers/ufs/host/ufs-qcom-ice.c +0 -1
@@ -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; }
Signature · 1 line
2.17.1
Quoted 2 lines · Shang XiaoJing
devm_ioremap_resource()prints error message in itself. Remove thedev_errcall to avoid redundant error message.
Reviewed-by Bart Van Assche <[email protected]>
Martin K. Petersen
AppliedShang,
Quoted 2 lines
devm_ioremap_resource()prints error message in itself. Remove thedev_errcall to avoid redundant error message.
Applied to 6.1/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering