Skip to content

Commit aca898f

Browse files
Akinobu MitaJames Bottomley
authored andcommitted
[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>
1 parent cf9f4b5 commit aca898f

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎drivers/scsi/ufs/ufshcd-pltfrm.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,6 @@ static int ufshcd_pltfrm_probe(struct platform_device *pdev)
122122
goto out;
123123
}
124124

125-
err = dma_set_coherent_mask(dev, dev->coherent_dma_mask);
126-
if (err) {
127-
dev_err(dev, "set dma mask failed\n");
128-
goto out;
129-
}
130-
131125
err = ufshcd_init(dev, &hba, mmio_base, irq);
132126
if (err) {
133127
dev_err(dev, "Intialization failed\n");

0 commit comments

Comments
 (0)