kern: KWorkerTaskManager no longer tracks id

This commit is contained in:
Michael Scire
2021-09-17 16:20:55 -07:00
parent e105b39ae7
commit 0230609cca
3 changed files with 4 additions and 8 deletions

View File

@@ -17,10 +17,7 @@
namespace ams::kern {
void KWorkerTaskManager::Initialize(WorkerType wt, s32 priority) {
/* Set type, other members already initialized in constructor. */
m_type = wt;
void KWorkerTaskManager::Initialize(s32 priority) {
/* Reserve a thread from the system limit. */
MESOSPHERE_ABORT_UNLESS(Kernel::GetSystemResourceLimit().Reserve(ams::svc::LimitableResource_ThreadCountMax, 1));