diff options
author | Valeri <v19930312@gmail.com> | 2022-01-17 13:51:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 13:51:12 +0300 |
commit | 84786dde0017959f3499a54407a389af31ff8c80 (patch) | |
tree | a220d2ca16d14842c9dbd89a052909f41482a6b2 | |
parent | ca2d90477067b43475cd4176bed04c88a3e9bb64 (diff) |
hle: remove no-op code
Found by static analysis with PVS-Studio. Nobody seems to really know what was it doing there.
-rw-r--r-- | src/core/hle/kernel/k_scheduler.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_scheduler.cpp b/src/core/hle/kernel/k_scheduler.cpp index 31cec990ed..f900b2e7a0 100644 --- a/src/core/hle/kernel/k_scheduler.cpp +++ b/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) { auto& phys_core = kernel.PhysicalCore(core); phys_core.Interrupt(); - } else { - must_context_switch = true; } cores_pending_reschedule &= ~(1ULL << core); } |