diff options
author | Christoph Hellwig <hch@lst.de> | 2018-08-24 11:28:18 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-09-08 12:19:28 +0300 |
commit | dc3c05504d38849f77149cb962caeaedd1efa127 (patch) | |
tree | 93e5ec8eae100c5f4daff9e0062b717721f97a8f /include/linux/dma-mapping.h | |
parent | ccf640f4c9988653ef884672381b03b9be247bec (diff) | |
download | linux-dc3c05504d38849f77149cb962caeaedd1efa127.tar.xz |
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 'include/linux/dma-mapping.h')
-rw-r--r-- | include/linux/dma-mapping.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index 1c6c7c09bcf2..1423b69f3cc9 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -753,12 +753,6 @@ dma_mark_declared_memory_occupied(struct device *dev, } #endif /* CONFIG_HAVE_GENERIC_DMA_COHERENT */ -#ifdef CONFIG_HAS_DMA -void dma_deconfigure(struct device *dev); -#else -static inline void dma_deconfigure(struct device *dev) {} -#endif - /* * Managed DMA API */ |