aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-11-28 12:00:32 +0100
committerIngo Molnar <mingo@kernel.org>2022-03-15 12:57:35 +0100
commitf73a943ea3f057acf0ee5abecffccf207f00cfd3 (patch)
tree1ff1baa48a144f701594c0b5b097453ea656e2f7
parent0e5e3a6198a83f44f8c349b2540c0463ae122183 (diff)
downloadtip-f73a943ea3f057acf0ee5abecffccf207f00cfd3.tar.gz
headers/deps: io: Optimize <asm-generic/io.h> dependencies, remove <linux/string.h> inclusion
-------------------------------------------------------------------- | Combined, preprocessed C code size of header, without line markers, | with comments stripped: ------------------------- before: | #include <asm-generic/io.h> | LOC: 2,424 | headers: 109 after: | #include <asm-generic/io.h> | LOC: 1,955 | headers: 98 Fix up dangling dependencies. Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--include/asm-generic/io.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h
index b08c9366d832b..c8ed0258ec5e3 100644
--- a/include/asm-generic/io.h
+++ b/include/asm-generic/io.h
@@ -8,7 +8,6 @@
#define __ASM_GENERIC_IO_H
#include <asm/page.h> /* I/O is all done through memory accesses */
-#include <linux/string.h> /* for memset() and memcpy() */
#ifdef CONFIG_GENERIC_IOMAP
#include <asm-generic/iomap.h>