Thread: Remove unused static global
This commit is contained in:
		| @@ -40,7 +40,6 @@ static std::vector<Handle> thread_queue; | |||||||
| // Lists only ready thread ids. | // Lists only ready thread ids. | ||||||
| static Common::ThreadQueueList<Handle> thread_ready_queue; | static Common::ThreadQueueList<Handle> thread_ready_queue; | ||||||
|  |  | ||||||
| static Handle current_thread_handle; |  | ||||||
| static Thread* current_thread; | static Thread* current_thread; | ||||||
|  |  | ||||||
| static const u32 INITIAL_THREAD_ID = 1; ///< The first available thread id at startup | static const u32 INITIAL_THREAD_ID = 1; ///< The first available thread id at startup | ||||||
| @@ -53,7 +52,6 @@ Thread* GetCurrentThread() { | |||||||
| /// Sets the current thread | /// Sets the current thread | ||||||
| inline void SetCurrentThread(Thread* t) { | inline void SetCurrentThread(Thread* t) { | ||||||
|     current_thread = t; |     current_thread = t; | ||||||
|     current_thread_handle = t->GetHandle(); |  | ||||||
| } | } | ||||||
|  |  | ||||||
| /// Saves the current CPU context | /// Saves the current CPU context | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Yuri Kunde Schlesner
					Yuri Kunde Schlesner