diff options
| author | 2022-01-17 13:51:12 +0300 | |
|---|---|---|
| committer | 2022-01-17 13:51:12 +0300 | |
| commit | 84786dde0017959f3499a54407a389af31ff8c80 (patch) | |
| tree | a220d2ca16d14842c9dbd89a052909f41482a6b2 /src | |
| parent | Merge pull request #7719 from gidoly/patch-6 (diff) | |
| download | yuzu-84786dde0017959f3499a54407a389af31ff8c80.tar.gz yuzu-84786dde0017959f3499a54407a389af31ff8c80.tar.xz yuzu-84786dde0017959f3499a54407a389af31ff8c80.zip | |
hle: remove no-op code
Found by static analysis with PVS-Studio. Nobody seems to really know what was it doing there.
Diffstat (limited to 'src')
| -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 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 | |||
| 49 | if (!must_context_switch || core != current_core) { | 49 | if (!must_context_switch || core != current_core) { |
| 50 | auto& phys_core = kernel.PhysicalCore(core); | 50 | auto& phys_core = kernel.PhysicalCore(core); |
| 51 | phys_core.Interrupt(); | 51 | phys_core.Interrupt(); |
| 52 | } else { | ||
| 53 | must_context_switch = true; | ||
| 54 | } | 52 | } |
| 55 | cores_pending_reschedule &= ~(1ULL << core); | 53 | cores_pending_reschedule &= ~(1ULL << core); |
| 56 | } | 54 | } |