提交 aca898f5 编写于 作者: A Akinobu Mita 提交者: James Bottomley

[SCSI] ufshcd-pltfrm: remove unnecessary dma_set_coherent_mask() call

Changing the device coherent dma mask to the value that currently set
has no effect.
Signed-off-by: NAkinobu Mita <mita@fixstars.com>
Signed-off-by: NSantosh Y <santoshsy@gmail.com>
Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
上级 cf9f4b59
......@@ -122,12 +122,6 @@ static int ufshcd_pltfrm_probe(struct platform_device *pdev)
goto out;
}
err = dma_set_coherent_mask(dev, dev->coherent_dma_mask);
if (err) {
dev_err(dev, "set dma mask failed\n");
goto out;
}
err = ufshcd_init(dev, &hba, mmio_base, irq);
if (err) {
dev_err(dev, "Intialization failed\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册