summaryrefslogtreecommitdiffstats
path: root/drivers/base/dma-coherent.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-08-25 17:12:18 +0200
committerChristoph Hellwig <hch@lst.de>2017-09-01 09:50:39 +0200
commitb32dbc1e0bf0eaa8bdd725491b361d5fc2f57a85 (patch)
treefcec7728562b58819c19540275111bdd04cdff8d /drivers/base/dma-coherent.c
parentof: restrict DMA configuration (diff)
downloadlinux-b32dbc1e0bf0eaa8bdd725491b361d5fc2f57a85.tar.xz
linux-b32dbc1e0bf0eaa8bdd725491b361d5fc2f57a85.zip
dma-coherent: remove the DMA_MEMORY_INCLUDES_CHILDREN flag
This flag was never implemented or used. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'drivers/base/dma-coherent.c')
-rw-r--r--drivers/base/dma-coherent.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/base/dma-coherent.c b/drivers/base/dma-coherent.c
index 1c152aed6b82..6f6dc4d41788 100644
--- a/drivers/base/dma-coherent.c
+++ b/drivers/base/dma-coherent.c
@@ -109,8 +109,6 @@ static int dma_assign_coherent_memory(struct device *dev,
return -EBUSY;
dev->dma_mem = mem;
- /* FIXME: this routine just ignores DMA_MEMORY_INCLUDES_CHILDREN */
-
return 0;
}