diff options
author | dzwdz | 2021-09-12 11:32:16 +0200 |
---|---|---|
committer | dzwdz | 2021-09-12 11:32:16 +0200 |
commit | 8fe035d7d75d09f314f9e8aefe1dcaf1e10d1954 (patch) | |
tree | 7c16890d32764376cf02cb9ae4953b543d12356e /src | |
parent | f6238db266300e8efdf20b98734f1c21abafd6a0 (diff) |
remove some dead code
Diffstat (limited to 'src')
-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(); } |