hle: remove no-op code

Found by static analysis with PVS-Studio. Nobody seems to really know what was it doing there.
This commit is contained in:
Valeri 2022-01-17 13:51:12 +03:00 committed by GitHub
parent ca2d904770
commit 84786dde00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

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