* [PATCH] init/main.c: remove extern declarations for subsys_initcall functions
@ 2010-01-15 22:48 H Hartley Sweeten
0 siblings, 0 replies; only message in thread
From: H Hartley Sweeten @ 2010-01-15 22:48 UTC (permalink / raw)
To: Linux Kernel
init/main.c: remove extern declarations for subsys_initcall functions
The functions mca_init, sbus_init, and tc_init are all subsys_initcall
functions and do not need to be declared as extern's.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
---
diff --git a/init/main.c b/init/main.c
index dac44a9..e768467 100644
--- a/init/main.c
+++ b/init/main.c
@@ -85,8 +85,6 @@ static int kernel_init(void *);
extern void init_IRQ(void);
extern void fork_init(unsigned long);
-extern void mca_init(void);
-extern void sbus_init(void);
extern void prio_tree_init(void);
extern void radix_tree_init(void);
extern void free_initmem(void);
@@ -94,10 +92,6 @@ extern void free_initmem(void);
static inline void mark_rodata_ro(void) { }
#endif
-#ifdef CONFIG_TC
-extern void tc_init(void);
-#endif
-
enum system_states system_state __read_mostly;
EXPORT_SYMBOL(system_state);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-15 22:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-15 22:48 [PATCH] init/main.c: remove extern declarations for subsys_initcall functions H Hartley Sweeten
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).