summaryrefslogtreecommitdiffstats
path: root/src/net/netdevice.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/netdevice.c')
-rw-r--r--src/net/netdevice.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/net/netdevice.c b/src/net/netdevice.c
index 971830d9..fb4612bc 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 );