summaryrefslogtreecommitdiffstats
path: root/kernel/dma/mapping.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-08-24 10:28:18 +0200
committerChristoph Hellwig <hch@lst.de>2018-09-08 11:19:28 +0200
commitdc3c05504d38849f77149cb962caeaedd1efa127 (patch)
tree93e5ec8eae100c5f4daff9e0062b717721f97a8f /kernel/dma/mapping.c
parentdma-mapping: remove dma_configure (diff)
downloadlinux-dc3c05504d38849f77149cb962caeaedd1efa127.tar.xz
linux-dc3c05504d38849f77149cb962caeaedd1efa127.zip
dma-mapping: remove dma_deconfigure
This goes through a lot of hooks just to call arch_teardown_dma_ops. Replace it with a direct call instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'kernel/dma/mapping.c')
-rw-r--r--kernel/dma/mapping.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/dma/mapping.c b/kernel/dma/mapping.c
index 25607ceb4a50..3540cb399bd2 100644
--- a/kernel/dma/mapping.c
+++ b/kernel/dma/mapping.c
@@ -327,9 +327,3 @@ void dma_common_free_remap(void *cpu_addr, size_t size, unsigned long vm_flags)
vunmap(cpu_addr);
}
#endif
-
-void dma_deconfigure(struct device *dev)
-{
- of_dma_deconfigure(dev);
- acpi_dma_deconfigure(dev);
-}