Skip to content

Commit

Permalink
Kernel: Remove some commented-out code in Scheduler::yield()
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Feb 10, 2020
1 parent 7cf33a8 commit 1828d9e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Kernel/Scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1828d9e

Please sign in to comment.