Skip to content

Commit

Permalink
staging: rtl8192e: Remove dead code associated with CONFIG_64BIT_DMA
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent 69dbddc commit af7daa1
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions drivers/staging/rtl8192e/rtl_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))) {
Expand Down

0 comments on commit af7daa1

Please sign in to comment.