mirror of
https://github.com/ipxe/ipxe
synced 2026-04-04 03:00:20 +03:00
We don't actually use the reset functions anywhere, and nothing really
provides them.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user