[2/4] dma-mapping: remove the dma_mmap_from_dev_coherent export
diff mbox series

Message ID 20190902200746.16185-3-hch@lst.de
State New
Headers show
  • [1/4] dma-mapping: remove dma_release_declared_memory
Related show

Commit Message

Christoph Hellwig Sept. 2, 2019, 8:07 p.m. UTC
dma_mmap_from_dev_coherent is only used by dma_map_ops instances,
none of which is modular.

Signed-off-by: Christoph Hellwig <hch@lst.de>
 kernel/dma/coherent.c | 1 -
 1 file changed, 1 deletion(-)

diff mbox series

diff --git a/kernel/dma/coherent.c b/kernel/dma/coherent.c
index 7271cda86a37..7cafe1affdc9 100644
--- a/kernel/dma/coherent.c
+++ b/kernel/dma/coherent.c
@@ -277,7 +277,6 @@  int dma_mmap_from_dev_coherent(struct device *dev, struct vm_area_struct *vma,
 	return __dma_mmap_from_coherent(mem, vma, vaddr, size, ret);
 int dma_mmap_from_global_coherent(struct vm_area_struct *vma, void *vaddr,
 				   size_t size, int *ret)