Browse Source

Kernel: Remove Process::state(), everyone should use Thread::state()

Andreas Kling 5 years ago
parent
commit
66a9c233be
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Kernel/Process.h

+ 0 - 2
Kernel/Process.h

@@ -53,8 +53,6 @@ public:
 
 
     bool is_dead() const { return m_dead; }
     bool is_dead() const { return m_dead; }
 
 
-    Thread::State state() const { return main_thread().state(); }
-
     Thread& main_thread() { return *m_main_thread; }
     Thread& main_thread() { return *m_main_thread; }
     const Thread& main_thread() const { return *m_main_thread; }
     const Thread& main_thread() const { return *m_main_thread; }