From 1828d9eadd03e08ba7c77f33f2dbc8b68150c642 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 10 Feb 2020 20:16:50 +0100 Subject: Kernel: Remove some commented-out code in Scheduler::yield() --- Kernel/Scheduler.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Kernel') 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; } -- cgit v1.2.3