diff options
Diffstat (limited to 'src/net')
| -rw-r--r-- | src/net/netdevice.c | 9 | ||||
| -rw-r--r-- | src/net/retry.c | 9 |
2 files changed, 2 insertions, 16 deletions
diff --git a/src/net/netdevice.c b/src/net/netdevice.c index 971830d97..fb4612bc9 100644 --- a/src/net/netdevice.c +++ b/src/net/netdevice.c @@ -448,13 +448,6 @@ static void net_step ( struct process *process __unused ) { } /** Networking stack process */ -static struct process net_process = { +struct process net_process __permanent_process = { .step = net_step, }; - -/** Initialise the networking stack process */ -static void init_net ( void ) { - process_add ( &net_process ); -} - -INIT_FN ( INIT_PROCESS, init_net, NULL, NULL ); diff --git a/src/net/retry.c b/src/net/retry.c index f8c34b813..6734968f5 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 ); |
