summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-10 20:16:50 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-10 20:16:50 +0100
commit1828d9eadd03e08ba7c77f33f2dbc8b68150c642 (patch)
treeef812dfd26401a05737963b021a3f0ff1c4eaf64 /Kernel
parent7cf33a8ccb62241894f1a0844761761bd33e7128 (diff)
downloadserenity-1828d9eadd03e08ba7c77f33f2dbc8b68150c642.zip
Kernel: Remove some commented-out code in Scheduler::yield()
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Scheduler.cpp4
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;
}