Browse Source

[SCSI] ufshcd-pltfrm: remove redundant dev_err call in ufshcd_pltfrm_probe()

There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Wei Yongjun 12 năm trước cách đây
mục cha
commit
6fae390038
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/scsi/ufs/ufshcd-pltfrm.c

+ 0 - 1
drivers/scsi/ufs/ufshcd-pltfrm.c

@@ -145,7 +145,6 @@ static int ufshcd_pltfrm_probe(struct platform_device *pdev)
 
 	mmio_base = devm_ioremap_resource(dev, mem_res);
 	if (IS_ERR(mmio_base)) {
-		dev_err(dev, "memory map failed\n");
 		err = PTR_ERR(mmio_base);
 		goto out;
 	}