summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-04-20 21:45:52 +0200
committerSubv <subv2112@gmail.com>2018-04-21 04:04:33 +0200
commitbe155f4d9d410886853c25ffa032ce41a7428337 (patch)
tree0cdfd46181a5639339cbbf7d22ed31d9c1d8486b /src/core/hle/kernel/svc.cpp
parentKernel: Remove old and unused Mutex code. (diff)
downloadyuzu-be155f4d9d410886853c25ffa032ce41a7428337.tar
yuzu-be155f4d9d410886853c25ffa032ce41a7428337.tar.gz
yuzu-be155f4d9d410886853c25ffa032ce41a7428337.tar.bz2
yuzu-be155f4d9d410886853c25ffa032ce41a7428337.tar.lz
yuzu-be155f4d9d410886853c25ffa032ce41a7428337.tar.xz
yuzu-be155f4d9d410886853c25ffa032ce41a7428337.tar.zst
yuzu-be155f4d9d410886853c25ffa032ce41a7428337.zip
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 99c1c2d2a..082c36caf 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -13,7 +13,6 @@
#include "core/core_timing.h"
#include "core/hle/kernel/client_port.h"
#include "core/hle/kernel/client_session.h"
-#include "core/hle/kernel/condition_variable.h"
#include "core/hle/kernel/event.h"
#include "core/hle/kernel/handle_table.h"
#include "core/hle/kernel/mutex.h"
@@ -394,11 +393,6 @@ static ResultCode SetThreadPriority(Handle handle, u32 priority) {
}
thread->SetPriority(priority);
- thread->UpdatePriority();
-
- // Update the mutexes that this thread is waiting for
- for (auto& mutex : thread->pending_mutexes)
- mutex->UpdatePriority();
Core::System::GetInstance().PrepareReschedule();
return RESULT_SUCCESS;