Просмотр исходного кода

kernel/timer: Remove unnecessary WakeupAllWaitingThreads() override

This implementation just calls the base class variant of the function,
so this isn't necessary.
Lioncash 7 лет назад
Родитель
Сommit
4596ef5274
2 измененных файлов с 0 добавлено и 6 удалено
  1. 0 4
      src/core/hle/kernel/timer.cpp
  2. 0 2
      src/core/hle/kernel/timer.h

+ 0 - 4
src/core/hle/kernel/timer.cpp

@@ -66,10 +66,6 @@ void Timer::Clear() {
     signaled = false;
 }
 
-void Timer::WakeupAllWaitingThreads() {
-    WaitObject::WakeupAllWaitingThreads();
-}
-
 void Timer::Signal(int cycles_late) {
     LOG_TRACE(Kernel, "Timer {} fired", GetObjectId());
 

+ 0 - 2
src/core/hle/kernel/timer.h

@@ -51,8 +51,6 @@ public:
     bool ShouldWait(Thread* thread) const override;
     void Acquire(Thread* thread) override;
 
-    void WakeupAllWaitingThreads() override;
-
     /**
      * Starts the timer, with the specified initial delay and interval.
      * @param initial Delay until the timer is first fired