Kernel: Remove some commented-out code in Scheduler::yield()

This commit is contained in:
Andreas Kling 2020-02-10 20:16:50 +01:00
parent 7cf33a8ccb
commit 1828d9eadd

View file

@ -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;
}