diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-07-29 15:06:04 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-08-26 04:51:29 -0400 |
commit | 6fae39003811e11f10481f43f13ff611ad18c831 (patch) | |
tree | c8364e9ae0f665e0f7e31f659867c326955aa5ff | |
parent | cfdf9c9103e4b80feb222c2ec1dbec6b8fe9edbf (diff) |
[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>
-rw-r--r-- | drivers/scsi/ufs/ufshcd-pltfrm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufshcd-pltfrm.c index 8b4a27fdbb3e..880d19fe2b06 100644 --- a/drivers/scsi/ufs/ufshcd-pltfrm.c +++ b/drivers/scsi/ufs/ufshcd-pltfrm.c | |||
@@ -145,7 +145,6 @@ static int ufshcd_pltfrm_probe(struct platform_device *pdev) | |||
145 | 145 | ||
146 | mmio_base = devm_ioremap_resource(dev, mem_res); | 146 | mmio_base = devm_ioremap_resource(dev, mem_res); |
147 | if (IS_ERR(mmio_base)) { | 147 | if (IS_ERR(mmio_base)) { |
148 | dev_err(dev, "memory map failed\n"); | ||
149 | err = PTR_ERR(mmio_base); | 148 | err = PTR_ERR(mmio_base); |
150 | goto out; | 149 | goto out; |
151 | } | 150 | } |