summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorGravatar Lioncash2020-07-15 13:13:31 -0400
committerGravatar Lioncash2020-07-15 13:28:05 -0400
commit4ad69ca96e747c2ed23edf7f35c5fedda28b2008 (patch)
tree113da68e222da4ff4276e8f307e00b57a7eacb99 /src/core/hle/kernel/thread.h
parentMerge pull request #4342 from lioncash/endian (diff)
downloadyuzu-4ad69ca96e747c2ed23edf7f35c5fedda28b2008.tar.gz
yuzu-4ad69ca96e747c2ed23edf7f35c5fedda28b2008.tar.xz
yuzu-4ad69ca96e747c2ed23edf7f35c5fedda28b2008.zip
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.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index c0342c462..9808767e5 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -680,9 +680,4 @@ private:
680 std::string name; 680 std::string name;
681}; 681};
682 682
683/**
684 * Gets the current thread
685 */
686Thread* GetCurrentThread();
687
688} // namespace Kernel 683} // namespace Kernel