]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SCSI] ufshcd-pltfrm: remove unnecessary dma_set_coherent_mask() call
authorAkinobu Mita <mita@fixstars.com>
Wed, 26 Jun 2013 17:09:34 +0000 (22:39 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 28 Jun 2013 20:17:35 +0000 (13:17 -0700)
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>
drivers/scsi/ufs/ufshcd-pltfrm.c

index 6829a160869f01dcbde1b7eef4021d543b3ab627..c42db40d4e518ee425da875cd61d1c28041e1176 100644 (file)
@@ -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");