diff options
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/syscalls.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 9c6a1e0..c1ba47a 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -35,10 +35,6 @@ _Noreturn void _syscall_exit(const char __user *msg, size_t len) { if (process_current->parent->state == PS_WAITS4CHILDDEATH) await_finish(process_current, process_current->parent); - process_current = process_find(PS_RUNNING); - if (process_current) - process_switch(process_current); - process_switch_any(); } |