summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert P. J. Day2008-07-25 10:45:49 +0200
committerLinus Torvalds2008-07-25 19:53:28 +0200
commit4500d067eeb3d00679335d9cf5c6536e79cd3ef4 (patch)
treeb9e77b6894405955244b57d9d533f7cdc1360f3f
parentparport: fix platform driver hotplug/coldplug (diff)
downloadkernel-qcow2-linux-4500d067eeb3d00679335d9cf5c6536e79cd3ef4.tar.gz
kernel-qcow2-linux-4500d067eeb3d00679335d9cf5c6536e79cd3ef4.tar.xz
kernel-qcow2-linux-4500d067eeb3d00679335d9cf5c6536e79cd3ef4.zip
init.h: remove obsolete content
Remove apparently obsolete content from init.h referring to gcc 2.9x and to "no_module_init". Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/linux/init.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/init.h b/include/linux/init.h
index 21d658cdfa27..42ae95411a93 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -275,13 +275,7 @@ void __init parse_early_param(void);
#define security_initcall(fn) module_init(fn)
-/* These macros create a dummy inline: gcc 2.9x does not count alias
- as usage, hence the `unused function' warning when __init functions
- are declared static. We use the dummy __*_module_inline functions
- both to kill the warning and check the type of the init/cleanup
- function. */
-
-/* Each module must use one module_init(), or one no_module_init */
+/* Each module must use one module_init(). */
#define module_init(initfn) \
static inline initcall_t __inittest(void) \
{ return initfn; } \