diff options
author | Lioncash <mathew1800@gmail.com> | 2020-07-15 13:13:31 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-07-15 13:28:05 -0400 |
commit | 4ad69ca96e747c2ed23edf7f35c5fedda28b2008 (patch) | |
tree | 113da68e222da4ff4276e8f307e00b57a7eacb99 /src/core/hle/kernel/thread.h | |
parent | 263200f982f1c8509450721cf5fa9d8639c198ef (diff) |
kernel/thread: Remove global GetCurrentThread()
This is only used in one place, so we can fold it into the calling code,
eliminating a place for the global system instance to be used.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r-- | src/core/hle/kernel/thread.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index c0342c4625..9808767e50 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -680,9 +680,4 @@ private: std::string name; }; -/** - * Gets the current thread - */ -Thread* GetCurrentThread(); - } // namespace Kernel |