Skip to contentSkip to conversation

init/main.c: remove extern declarations for subsys_initcall functions

PATCH New H Hartley Sweeten 1 participant 1 message Jan 15, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 init/main.c: remove extern declarations for subsys_initcall functions

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.

---

init/main.c +0 -6
index dac44a9..e768467 100644
@@ -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);