Merge pull request #7732 from v1993/patch-7

kernel: remove no-op code
master
bunnei 2022-01-17 15:37:16 +07:00 committed by GitHub
commit 5eb0b65590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

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