Browse Source

kernel/timer: Remove unnecessary WakeupAllWaitingThreads() override

This implementation just calls the base class variant of the function,
so this isn't necessary.
pull/15/merge
Lioncash 7 years ago
parent
commit
4596ef5274
  1. 4
      src/core/hle/kernel/timer.cpp
  2. 2
      src/core/hle/kernel/timer.h

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());

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

Loading…
Cancel
Save