From: Deyan Wang Date: Mon, 14 Feb 2022 12:02:50 +0000 (+0800) Subject: csky: Fix versioncheck warnings X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cfb24463a53edeb388f3563e166ad7f9591dad3d;p=linux.git csky: Fix versioncheck warnings $make versioncheck arch/csky/include/asm/io.h: 8 linux/version.h not needed. arch/csky/kernel/process.c: 5 linux/version.h not needed. arch/csky/mm/dma-mapping.c: 12 linux/version.h not needed. comments from Randy: The patch makes sense but these are not compile warnings. They come from scripts/checkversion.pl, which can be called by 'make versioncheck', so I suppose that something in your build system is running 'make versioncheck'. Signed-off-by: Deyan Wang Acked-by: Randy Dunlap Signed-off-by: Guo Ren Signed-off-by: Guo Ren --- diff --git a/arch/csky/include/asm/io.h b/arch/csky/include/asm/io.h index f82654053dc05..ed53f0b473880 100644 --- a/arch/csky/include/asm/io.h +++ b/arch/csky/include/asm/io.h @@ -5,7 +5,6 @@ #include #include -#include /* * I/O memory access primitives. Reads are ordered relative to any diff --git a/arch/csky/kernel/process.c b/arch/csky/kernel/process.c index 3d0ca22cd0e2e..5de04707aa07b 100644 --- a/arch/csky/kernel/process.c +++ b/arch/csky/kernel/process.c @@ -2,7 +2,6 @@ // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. #include -#include #include #include #include diff --git a/arch/csky/mm/dma-mapping.c b/arch/csky/mm/dma-mapping.c index c3a775a7e8f9d..82447029feb48 100644 --- a/arch/csky/mm/dma-mapping.c +++ b/arch/csky/mm/dma-mapping.c @@ -9,7 +9,6 @@ #include #include #include -#include #include static inline void cache_op(phys_addr_t paddr, size_t size,