From 84786dde0017959f3499a54407a389af31ff8c80 Mon Sep 17 00:00:00 2001 From: Valeri Date: Mon, 17 Jan 2022 13:51:12 +0300 Subject: hle: remove no-op code Found by static analysis with PVS-Studio. Nobody seems to really know what was it doing there. --- src/core/hle/kernel/k_scheduler.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/core/hle/kernel/k_scheduler.cpp b/src/core/hle/kernel/k_scheduler.cpp index 31cec990e..f900b2e7a 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); } -- cgit v1.2.3