mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
[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>
This commit is contained in:
parent
cfdf9c9103
commit
6fae390038
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user