diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-07-03 20:09:14 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-07-03 20:09:14 +0100 |
commit | fd86c819ba559760b9bf7eaca1b21a0fd81ef6b6 (patch) | |
tree | ba4c0aa4612bed0a66d420a93356df09316214e0 /src/net/retry.c | |
parent | 4bcfe7507b322bb5ed2faf11e3b6f1cf1abc83ae (diff) | |
download | ipxe-fd86c819ba559760b9bf7eaca1b21a0fd81ef6b6.zip ipxe-fd86c819ba559760b9bf7eaca1b21a0fd81ef6b6.tar.gz ipxe-fd86c819ba559760b9bf7eaca1b21a0fd81ef6b6.tar.bz2 |
Use a linker-table based system to automatically mark and start up
permanent processes, rather than requiring each one to have its own
initialisation function.
Diffstat (limited to 'src/net/retry.c')
-rw-r--r-- | src/net/retry.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/net/retry.c b/src/net/retry.c index f8c34b8..6734968 100644 --- a/src/net/retry.c +++ b/src/net/retry.c @@ -167,13 +167,6 @@ static void retry_step ( struct process *process __unused ) { } /** Retry timer process */ -static struct process retry_process = { +struct process retry_process __permanent_process = { .step = retry_step, }; - -/** Initialise the retry timer module */ -static void init_retry ( void ) { - process_add ( &retry_process ); -} - -INIT_FN ( INIT_PROCESS, init_retry, NULL, NULL ); |