diff options
author | Christoph Hellwig <hch@lst.de> | 2023-10-12 10:58:29 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2023-10-22 17:38:55 +0300 |
commit | 8126cab004bab7b9d58b156435350379d88e8539 (patch) | |
tree | 813859b8a7fa81ca9441c474206d711d293ac1c9 /arch/m68k | |
parent | 7a360df941a4bd60847208de59f1ac8b166265a2 (diff) | |
download | linux-8126cab004bab7b9d58b156435350379d88e8539.tar.xz |
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 |