Browse Source

Merge pull request #7732 from v1993/patch-7

kernel: remove no-op code
nce_cpp
bunnei 4 years ago
committed by GitHub
parent
commit
4e3c9cdde6
  1. 2
      src/core/hle/kernel/k_scheduler.cpp

2
src/core/hle/kernel/k_scheduler.cpp

@ -49,8 +49,6 @@ void KScheduler::RescheduleCores(KernelCore& kernel, u64 cores_pending_reschedul
if (!must_context_switch || core != current_core) { if (!must_context_switch || core != current_core) {
auto& phys_core = kernel.PhysicalCore(core); auto& phys_core = kernel.PhysicalCore(core);
phys_core.Interrupt(); phys_core.Interrupt();
} else {
must_context_switch = true;
} }
cores_pending_reschedule &= ~(1ULL << core); cores_pending_reschedule &= ~(1ULL << core);
} }

Loading…
Cancel
Save