summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-05-10 11:08:35 +0800
committerGeert Uytterhoeven <geert@linux-m68k.org>2021-05-10 11:47:00 +0200
commiteeff86b6d18ccd7ef1e663dd428b93f5887d02b5 (patch)
tree67fcf3ab742eb03b456bcdb41809b37696e0dbda /arch
parentbc7c9993a0d836aa88aca2969dcb9b22031924d3 (diff)
downloadlinux-eeff86b6d18ccd7ef1e663dd428b93f5887d02b5.tar.bz2
m68k: dma: Remove unnecessary include of asm/cacheflush.h
In commit ca15ca406f660 ("mm: remove unneeded includes of <asm/pgalloc.h>"), asm/cacheflush.h independent on the MACRO was included at line 18. The include here is unnecessary. Remove it. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Link: https://lore.kernel.org/r/20210510030836.11834-1-wanjiabing@vivo.com Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/m68k/kernel/dma.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/m68k/kernel/dma.c b/arch/m68k/kernel/dma.c
index 1c1b875fadc1..2e192a5df949 100644
--- a/arch/m68k/kernel/dma.c
+++ b/arch/m68k/kernel/dma.c
@@ -34,9 +34,6 @@ pgprot_t pgprot_dmacoherent(pgprot_t prot)
return prot;
}
#else
-
-#include <asm/cacheflush.h>
-
void *arch_dma_alloc(struct device *dev, size_t size, dma_addr_t *dma_handle,
gfp_t gfp, unsigned long attrs)
{