mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 23:29:46 +00:00
[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: Akinobu Mita <mita@fixstars.com> Signed-off-by: Santosh Y <santoshsy@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
cf9f4b59c5
commit
aca898f5d7
@ -122,12 +122,6 @@ static int ufshcd_pltfrm_probe(struct platform_device *pdev)
|
|||||||
goto out;
|
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);
|
err = ufshcd_init(dev, &hba, mmio_base, irq);
|
||||||
if (err) {
|
if (err) {
|
||||||
dev_err(dev, "Intialization failed\n");
|
dev_err(dev, "Intialization failed\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user