Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1186122

[PATCH v4 5/6] slub: Remove redundant module.h includes

From Tom Zanussi <tom.zanussi@linux.intel.com>
Newsgroups linux.kernel
Subject [PATCH v4 5/6] slub: Remove redundant module.h includes
Date 2015-07-16 19:40 +0200
Message-ID <pMViz-57c-37@gated-at.bofh.it> (permalink)
References <pMViy-57c-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


kallsyms.h now includes module.h, so remove module.h includes that
were apparently there only to satisfy kallsyms use of MODULE_NAME_LEN
(via KSYM_SYMBOL_LEN).

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Acked-by: David Rientjes <rientjes@google.com>
---
 mm/slub.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/mm/slub.c b/mm/slub.c
index 257283f..797530f 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -11,7 +11,6 @@
 
 #include <linux/mm.h>
 #include <linux/swap.h> /* struct reclaim_state */
-#include <linux/module.h>
 #include <linux/bit_spinlock.h>
 #include <linux/interrupt.h>
 #include <linux/bitops.h>
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v4 5/6] slub: Remove redundant module.h includes Tom Zanussi <tom.zanussi@linux.intel.com> - 2015-07-16 19:40 +0200

csiph-web