aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorAkinobu Mita <mita@fixstars.com>2013-06-26 13:09:34 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-06-28 16:17:35 -0400
commitaca898f5d7ddcd0e7cc358a613338b009a88af80 (patch)
tree86ff4354e7ba3f388d1eaee87bd63f79dc935b51 /drivers/scsi
parentcf9f4b59c52bd12c850c20435eef9f196976f541 (diff)
[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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/ufs/ufshcd-pltfrm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufshcd-pltfrm.c
index 6829a160869f..c42db40d4e51 100644
--- a/drivers/scsi/ufs/ufshcd-pltfrm.c
+++ b/drivers/scsi/ufs/ufshcd-pltfrm.c
@@ -122,12 +122,6 @@ static int ufshcd_pltfrm_probe(struct platform_device *pdev)
122 goto out; 122 goto out;
123 } 123 }
124 124
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
131 err = ufshcd_init(dev, &hba, mmio_base, irq); 125 err = ufshcd_init(dev, &hba, mmio_base, irq);
132 if (err) { 126 if (err) {
133 dev_err(dev, "Intialization failed\n"); 127 dev_err(dev, "Intialization failed\n");