diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-01 13:28:13 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-09-25 06:20:46 +0200 |
commit | 5a84292271402cffe0717bc58e2ad9a0c7977272 (patch) | |
tree | 9294a02e1c2e9d1bf08f59641d910ac8070eb32d /arch/mips/mm | |
parent | d69d8adc5bf045e686338918292aa417c5282852 (diff) | |
download | linux-5a84292271402cffe0717bc58e2ad9a0c7977272.tar.gz linux-5a84292271402cffe0717bc58e2ad9a0c7977272.tar.bz2 linux-5a84292271402cffe0717bc58e2ad9a0c7977272.zip |
dma-mapping: remove dma_cache_sync
All users are gone now, remove the API.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> (MIPS part)
Diffstat (limited to 'arch/mips/mm')
-rw-r--r-- | arch/mips/mm/dma-noncoherent.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/mm/dma-noncoherent.c b/arch/mips/mm/dma-noncoherent.c index 97a14adbafc9..f34ad1f09799 100644 --- a/arch/mips/mm/dma-noncoherent.c +++ b/arch/mips/mm/dma-noncoherent.c @@ -137,12 +137,6 @@ void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, } #endif -void arch_dma_cache_sync(struct device *dev, void *vaddr, size_t size, - enum dma_data_direction direction) -{ - dma_sync_virt_for_device(vaddr, size, direction); -} - #ifdef CONFIG_DMA_PERDEV_COHERENT void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, const struct iommu_ops *iommu, bool coherent) |