[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210510030836.11834-1-wanjiabing@vivo.com>
Date: Mon, 10 May 2021 11:08:35 +0800
From: Wan Jiabing <wanjiabing@...o.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>,
Pekka Enberg <penberg@...nel.org>,
Wan Jiabing <wanjiabing@...o.com>,
Mike Rapoport <rppt@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-m68k@...ts.linux-m68k.org, linux-kernel@...r.kernel.org
Cc: kael_w@...h.net
Subject: [PATCH] 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@...o.com>
---
arch/m68k/kernel/dma.c | 3 ---
1 file changed, 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)
{
--
2.20.1
Powered by blists - more mailing lists