From: Akinobu Mita Date: Wed, 26 Jun 2013 17:09:34 +0000 (+0530) Subject: [SCSI] ufshcd-pltfrm: remove unnecessary dma_set_coherent_mask() call X-Git-Tag: v3.11-rc1~88^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aca898f5d7ddcd0e7cc358a613338b009a88af80;p=platform%2Fkernel%2Flinux-stable.git [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 Signed-off-by: Santosh Y Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufshcd-pltfrm.c index 6829a16..c42db40 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) 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");