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

Commit aca898f5 authored by Akinobu Mita's avatar Akinobu Mita Committed by James Bottomley
Browse files

[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: default avatarAkinobu Mita <mita@fixstars.com>
Signed-off-by: default avatarSantosh Y <santoshsy@gmail.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent cf9f4b59
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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");