summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authordzwdz2021-09-12 11:32:16 +0200
committerdzwdz2021-09-12 11:32:16 +0200
commit8fe035d7d75d09f314f9e8aefe1dcaf1e10d1954 (patch)
tree7c16890d32764376cf02cb9ae4953b543d12356e /src/kernel
parentf6238db266300e8efdf20b98734f1c21abafd6a0 (diff)
remove some dead code
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/syscalls.c4
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();
}