summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap1
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-08 09:02:56 +0200
committerChristoph Hellwig <hch@lst.de>2020-09-17 18:43:24 +0200
commit002a26fb55282f7832e132d046d22e2c55f47103 (patch)
treed3fdbcae69608f14df61c6ea343bc55cdd646406 /arch/arm/mach-omap1
parentf982438e82bbecb32200d5f22f405ec64f1fdd1b (diff)
ARM/dma-mapping: remove dma_to_virt
dma_to_virt is entirely unused, remove it. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/arm/mach-omap1')
-rw-r--r--arch/arm/mach-omap1/include/mach/memory.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-omap1/include/mach/memory.h b/arch/arm/mach-omap1/include/mach/memory.h
index 1142560e0078..e43697c3297b 100644
--- a/arch/arm/mach-omap1/include/mach/memory.h
+++ b/arch/arm/mach-omap1/include/mach/memory.h
@@ -41,10 +41,6 @@
__phys_to_pfn(__dma); \
})
-#define __arch_dma_to_virt(dev, addr) ({ (void *) (is_lbus_device(dev) ? \
- lbus_to_virt(addr) : \
- __phys_to_virt(addr)); })
-
#define __arch_virt_to_dma(dev, addr) ({ unsigned long __addr = (unsigned long)(addr); \
(dma_addr_t) (is_lbus_device(dev) ? \
virt_to_lbus(__addr) : \