Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6fae3900 authored by Wei Yongjun's avatar Wei Yongjun Committed by James Bottomley
Browse files

[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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarSantosh Y <santoshsy@gmail.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent cfdf9c91
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -145,7 +145,6 @@ static int ufshcd_pltfrm_probe(struct platform_device *pdev)


	mmio_base = devm_ioremap_resource(dev, mem_res);
	mmio_base = devm_ioremap_resource(dev, mem_res);
	if (IS_ERR(mmio_base)) {
	if (IS_ERR(mmio_base)) {
		dev_err(dev, "memory map failed\n");
		err = PTR_ERR(mmio_base);
		err = PTR_ERR(mmio_base);
		goto out;
		goto out;
	}
	}