From: Larry Finger Date: Thu, 14 Jul 2011 22:20:32 +0000 (-0500) Subject: staging: rtl8192e: Remove dead code associated with CONFIG_64BIT_DMA X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~132^2~15 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=af7daa15f7ab1c43091e6fc437bd2b4b5e7df60a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: rtl8192e: Remove dead code associated with CONFIG_64BIT_DMA Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl_core.c index ae983a2237bb..3711eb431f0d 100644 --- a/drivers/staging/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl_core.c @@ -2975,17 +2975,6 @@ static int __devinit rtl8192_pci_probe(struct pci_dev *pdev, pci_set_master(pdev); -#ifdef CONFIG_64BIT_DMA - if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) { - printk("RTL819xCE: Using 64bit DMA\n"); - if (pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64))) { - printk( "Unable to obtain 64bit DMA for consistent allocations\n"); - pci_disable_device(pdev); - return -ENOMEM; - } - bdma64 = true; - } else -#endif { if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) { if (pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32))) {