Commit ce9ff57d authored by Petr Tesarik's avatar Petr Tesarik Committed by Helge Deller
Browse files

parisc: pci-dma: remove unused and dead EISA code and comment



Clearly, this code isn't needed, but it gives a false positive when
grepping the complete source tree for coherent_dma_mask.

Signed-off-by: default avatarPetr Tesarik <petr.tesarik.ext@huawei.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent c2ff2b73
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -417,14 +417,6 @@ void *arch_dma_alloc(struct device *dev, size_t size,
	map_uncached_pages(vaddr, size, paddr);
	*dma_handle = (dma_addr_t) paddr;

#if 0
/* This probably isn't needed to support EISA cards.
** ISA cards will certainly only support 24-bit DMA addressing.
** Not clear if we can, want, or need to support ISA.
*/
	if (!dev || *dev->coherent_dma_mask < 0xffffffff)
		gfp |= GFP_DMA;
#endif
	return (void *)vaddr;
}