diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-10 20:16:50 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-10 20:16:50 +0100 |
commit | 1828d9eadd03e08ba7c77f33f2dbc8b68150c642 (patch) | |
tree | ef812dfd26401a05737963b021a3f0ff1c4eaf64 /Kernel | |
parent | 7cf33a8ccb62241894f1a0844761761bd33e7128 (diff) | |
download | serenity-1828d9eadd03e08ba7c77f33f2dbc8b68150c642.zip |
Kernel: Remove some commented-out code in Scheduler::yield()
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Scheduler.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp index f4192d08ca..a12b271212 100644 --- a/Kernel/Scheduler.cpp +++ b/Kernel/Scheduler.cpp @@ -457,12 +457,8 @@ bool Scheduler::yield() { InterruptDisabler disabler; ASSERT(current); - // dbgprintf("%s(%u:%u) yield()\n", current->process().name().characters(), current->pid(), current->tid()); - if (!pick_next()) return false; - - // dbgprintf("yield() jumping to new process: sel=%x, %s(%u:%u)\n", current->far_ptr().selector, current->process().name().characters(), current->pid(), current->tid()); switch_now(); return true; } |