summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMichael Brown2007-07-03 21:34:51 +0200
committerMichael Brown2007-07-03 21:34:51 +0200
commitfae10a7ca1ab1977b28e1ead5342953908dfd0a3 (patch)
tree4c308d6c748bc818f55b8b2645ed84b86aa311ca /src/core
parentMove pxe_netdev and set_pxe_netdev to pxe_undi.c and remove (diff)
downloadipxe-fae10a7ca1ab1977b28e1ead5342953908dfd0a3.tar.gz
ipxe-fae10a7ca1ab1977b28e1ead5342953908dfd0a3.tar.xz
ipxe-fae10a7ca1ab1977b28e1ead5342953908dfd0a3.zip
We don't actually use the reset functions anywhere, and nothing really
provides them.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/btext.c2
-rw-r--r--src/core/init.c9
-rw-r--r--src/core/pcmcia.c2
-rw-r--r--src/core/serial.c2
4 files changed, 3 insertions, 12 deletions
diff --git a/src/core/btext.c b/src/core/btext.c
index 6e1a29e16..0266f16b6 100644
--- a/src/core/btext.c
+++ b/src/core/btext.c
@@ -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
diff --git a/src/core/init.c b/src/core/init.c
index 66b428fee..61570fd17 100644
--- a/src/core/init.c
+++ b/src/core/init.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;
diff --git a/src/core/pcmcia.c b/src/core/pcmcia.c
index 53d454160..3db9b84d6 100644
--- a/src/core/pcmcia.c
+++ b/src/core/pcmcia.c
@@ -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
diff --git a/src/core/serial.c b/src/core/serial.c
index 630403774..3e4543bbc 100644
--- a/src/core/serial.c
+++ b/src/core/serial.c
@@ -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 );