From e8c63bf3f3b03764429f7746723ebba462e905fc Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 20 Feb 2006 21:17:23 +0000 Subject: 2006-02-20 Thomas Schwinge Remove unused and unsupported code. Consult the file `DEVELOPMENT' for details. Partly based on suggestions by Gianluca Guida . * bogus/net_atm.h: Remove file. * Makefile.in (bogus-files): Remove `net_atm.h'. * kern/syscall_sw.c: Don't include anymore and adopt all users of NET_ATM as if it were always defined to `0'. * kern/task.c: Likewise. * kern/task.h: Likewise. * kern/thread.c: Likewise. * kern/thread.h: Likewise. --- kern/task.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'kern/task.c') diff --git a/kern/task.c b/kern/task.c index 7b0e0e66..59b11ee9 100644 --- a/kern/task.c +++ b/kern/task.c @@ -35,7 +35,6 @@ #include #include #include -#include #include #include @@ -54,10 +53,6 @@ #include /* for kernel_map, ipc_kernel_map */ #include /* for splsched */ -#if NET_ATM -#include -#endif - #if NORMA_TASK #define task_create task_create_local #endif /* NORMA_TASK */ @@ -157,10 +152,6 @@ kern_return_t task_create( ipc_task_init(new_task, parent_task); -#if NET_ATM - new_task->nw_ep_owned = 0; -#endif - new_task->total_user_time.seconds = 0; new_task->total_user_time.microseconds = 0; new_task->total_system_time.seconds = 0; @@ -291,13 +282,6 @@ kern_return_t task_terminate( cur_task = current_task(); cur_thread = current_thread(); -#if NET_ATM - /* - * Shut down networking. - */ - mk_endpoint_collect(task); -#endif - /* * Deactivate task so that it can't be terminated again, * and so lengthy operations in progress will abort. -- cgit v1.2.3