core: Remove CurrentArmInterface() global accessor

Replaces the final usage of the global accessor function and removes it.
Removes one more enabler of global state.
This commit is contained in:
Lioncash 2019-07-12 21:48:46 -04:00
parent 4d82158274
commit 093e5440e2
2 changed files with 6 additions and 7 deletions

View file

@ -327,10 +327,6 @@ private:
static System s_instance;
};
inline ARM_Interface& CurrentArmInterface() {
return System::GetInstance().CurrentArmInterface();
}
inline Kernel::Process* CurrentProcess() {
return System::GetInstance().CurrentProcess();
}