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.
This commit is contained in:
parent
263200f982
commit
4ad69ca96e
3 changed files with 7 additions and 23 deletions
|
@ -680,9 +680,4 @@ private:
|
|||
std::string name;
|
||||
};
|
||||
|
||||
/**
|
||||
* Gets the current thread
|
||||
*/
|
||||
Thread* GetCurrentThread();
|
||||
|
||||
} // namespace Kernel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue