diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-11 10:56:40 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-10-06 07:07:03 +0200 |
commit | 580a0cc9c3f662e0b10136bc8af1e672e472806f (patch) | |
tree | 8a3eb1b443df44986b6dc4a1fce75173dd58a63d /kernel | |
parent | 5af638931eb374aa0894d8343cee72f50307ef20 (diff) | |
download | linux-580a0cc9c3f662e0b10136bc8af1e672e472806f.tar.bz2 |
dma-contiguous: remove dma_contiguous_set_default
dma_contiguous_set_default contains a trivial assignment, and has a
single caller that is compiled if CONFIG_CMA_DMA is enabled.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/dma/contiguous.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/contiguous.c b/kernel/dma/contiguous.c index 95adcee972e8..bf05ec2256e1 100644 --- a/kernel/dma/contiguous.c +++ b/kernel/dma/contiguous.c @@ -407,7 +407,7 @@ static int __init rmem_cma_setup(struct reserved_mem *rmem) dma_contiguous_early_fixup(rmem->base, rmem->size); if (default_cma) - dma_contiguous_set_default(cma); + dma_contiguous_default_area = cma; rmem->ops = &rmem_cma_ops; rmem->priv = cma; |