Skip to content

Commit

Permalink
fix(scheduler): Remove redundant DCHECK in Scheduler (#352)
Browse files Browse the repository at this point in the history
Signed-off-by: Stepan Bagritsevich <[email protected]>
  • Loading branch information
BagritsevichStepan authored Dec 30, 2024
1 parent 3d0f747 commit 493804d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion util/fibers/detail/scheduler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ ctx::fiber_context Scheduler::Preempt() {
DCHECK(!IsFiberAtomicSection()) << "Preempting inside of atomic section";
DCHECK(!ready_queue_.empty()); // dispatcher fiber is always in the ready queue.

DCHECK(!ready_queue_.empty());
FiberInterface* fi = &ready_queue_.front();
ready_queue_.pop_front();

Expand Down

0 comments on commit 493804d

Please sign in to comment.