diff options
author | Christoph Hellwig <hch@lst.de> | 2023-10-12 09:58:29 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2023-10-22 16:38:55 +0200 |
commit | 8126cab004bab7b9d58b156435350379d88e8539 (patch) | |
tree | 813859b8a7fa81ca9441c474206d711d293ac1c9 /arch/m68k | |
parent | m68k: don't provide arch_dma_alloc for nommu/coldfire (diff) | |
download | linux-8126cab004bab7b9d58b156435350379d88e8539.tar.xz linux-8126cab004bab7b9d58b156435350379d88e8539.zip |
m68k: remove unused includes from dma.c
dma.c doesn't need most of the headers it includes. Also there is
no point in undefining the DEBUG symbol given that it isn't used
anywhere in this small file.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Greg Ungerer <gerg@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/kernel/dma.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/m68k/kernel/dma.c b/arch/m68k/kernel/dma.c index eef63d032abb..16063783aa80 100644 --- a/arch/m68k/kernel/dma.c +++ b/arch/m68k/kernel/dma.c @@ -4,17 +4,8 @@ * for more details. */ -#undef DEBUG - #include <linux/dma-map-ops.h> -#include <linux/device.h> #include <linux/kernel.h> -#include <linux/platform_device.h> -#include <linux/scatterlist.h> -#include <linux/slab.h> -#include <linux/vmalloc.h> -#include <linux/export.h> - #include <asm/cacheflush.h> #ifndef CONFIG_COLDFIRE |