diff options
| author | 2020-07-15 13:13:31 -0400 | |
|---|---|---|
| committer | 2020-07-15 13:28:05 -0400 | |
| commit | 4ad69ca96e747c2ed23edf7f35c5fedda28b2008 (patch) | |
| tree | 113da68e222da4ff4276e8f307e00b57a7eacb99 /src/core/hle/kernel/thread.h | |
| parent | Merge pull request #4342 from lioncash/endian (diff) | |
| download | yuzu-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.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 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 | */ | ||
| 686 | Thread* GetCurrentThread(); | ||
| 687 | |||
| 688 | } // namespace Kernel | 683 | } // namespace Kernel |