diff options
author | Petr Tesarik <petr.tesarik.ext@huawei.com> | 2023-08-02 18:33:21 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-08-03 14:40:37 +0200 |
commit | ce9ff57d393db86a34ba3f817d7fb886b7c278dc (patch) | |
tree | dce62d7f474c5704c609b955ba6499e66cb8be32 /arch | |
parent | c2ff2b736c41cc63bb0aaec85cccfead9fbcfe92 (diff) | |
download | linux-ce9ff57d393db86a34ba3f817d7fb886b7c278dc.tar.gz linux-ce9ff57d393db86a34ba3f817d7fb886b7c278dc.tar.bz2 linux-ce9ff57d393db86a34ba3f817d7fb886b7c278dc.zip |
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: Petr Tesarik <petr.tesarik.ext@huawei.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/kernel/pci-dma.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/parisc/kernel/pci-dma.c b/arch/parisc/kernel/pci-dma.c index d818ece23b4a..3f6b507970eb 100644 --- a/arch/parisc/kernel/pci-dma.c +++ b/arch/parisc/kernel/pci-dma.c @@ -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; } |