We don't actually use the reset functions anywhere, and nothing really

provides them.
This commit is contained in:
Michael Brown
2007-07-03 20:34:51 +01:00
parent 5ce5e6d846
commit fae10a7ca1
10 changed files with 9 additions and 21 deletions

View File

@@ -417,7 +417,7 @@ struct console_driver btext_console __console_driver = {
.disabled = 1,
};
INIT_FN ( INIT_CONSOLE, btext_init, NULL, NULL );
INIT_FN ( INIT_CONSOLE, btext_init, NULL );
//come from linux/drivers/video/font-8x16.c

View File

@@ -23,15 +23,6 @@ void call_init_fns ( void ) {
}
}
void call_reset_fns ( void ) {
struct init_fn *init_fn;
for ( init_fn = init_fns; init_fn < init_fns_end ; init_fn++ ) {
if ( init_fn->reset )
init_fn->reset ();
}
}
void call_exit_fns ( void ) {
struct init_fn *init_fn;

View File

@@ -264,6 +264,6 @@ static void pcmcia_shutdown_all(void) {
printf("Shutdown of PCMCIA subsystem completed");
}
INIT_FN ( INIT_PCMCIA, pcmcia_init_all, NULL, pcmcia_shutdown_all );
INIT_FN ( INIT_PCMCIA, pcmcia_init_all, pcmcia_shutdown_all );
#endif

View File

@@ -250,5 +250,5 @@ struct console_driver serial_console __console_driver = {
.disabled = 1,
};
INIT_FN ( INIT_CONSOLE, serial_init, NULL, serial_fini );
INIT_FN ( INIT_CONSOLE, serial_init, serial_fini );