lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20231020054024.78295-9-hch@lst.de> Date: Fri, 20 Oct 2023 07:40:24 +0200 From: Christoph Hellwig <hch@....de> To: Greg Ungerer <gerg@...ux-m68k.org>, iommu@...ts.linux.dev Cc: Robin Murphy <robin.murphy@....com>, Marek Szyprowski <m.szyprowski@...sung.com>, Geert Uytterhoeven <geert@...ux-m68k.org>, Wei Fang <wei.fang@....com>, Shenwei Wang <shenwei.wang@....com>, Clark Wang <xiaoning.wang@....com>, NXP Linux Team <linux-imx@....com>, linux-m68k@...ts.linux-m68k.org, netdev@...r.kernel.org Subject: [PATCH 8/8] 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@....de> Reviewed-by: Geert Uytterhoeven <geert@...ux-m68k.org> Reviewed-by: Greg Ungerer <gerg@...ux-m68k.org> Acked-by: Geert Uytterhoeven <geert@...ux-m68k.org> Tested-by: Greg Ungerer <gerg@...ux-m68k.org> --- arch/m68k/kernel/dma.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/m68k/kernel/dma.c b/arch/m68k/kernel/dma.c index eef63d032abb53..16063783aa80c6 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 -- 2.39.2
Powered by blists - more mailing lists