From e19dc7e6f0b5f1fb8377b50d7fcf28783059bff2 Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Mon, 22 Dec 2014 12:07:26 -0200 Subject: [PATCH] Thread: Remove unused static global --- src/core/hle/kernel/thread.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index dfb80760d..cacfc7b81 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -40,7 +40,6 @@ static std::vector thread_queue; // Lists only ready thread ids. static Common::ThreadQueueList thread_ready_queue; -static Handle current_thread_handle; static Thread* current_thread; static const u32 INITIAL_THREAD_ID = 1; ///< The first available thread id at startup @@ -53,7 +52,6 @@ Thread* GetCurrentThread() { /// Sets the current thread inline void SetCurrentThread(Thread* t) { current_thread = t; - current_thread_handle = t->GetHandle(); } /// Saves the current CPU context