aboutsummaryrefslogtreecommitdiff
path: root/arch/m68k/kernel/dma.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-10-12 09:58:29 +0200
committerChristoph Hellwig <[email protected]>2023-10-22 16:38:55 +0200
commit8126cab004bab7b9d58b156435350379d88e8539 (patch)
tree813859b8a7fa81ca9441c474206d711d293ac1c9 /arch/m68k/kernel/dma.c
parent7a360df941a4bd60847208de59f1ac8b166265a2 (diff)
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 <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Greg Ungerer <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Tested-by: Greg Ungerer <[email protected]>
Diffstat (limited to 'arch/m68k/kernel/dma.c')
-rw-r--r--arch/m68k/kernel/dma.c9
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