summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-01-30 12:27:02 -0500
committerLioncash <mathew1800@gmail.com>2019-01-30 12:45:00 -0500
commit4596ef5274e05c5e022bd21ba7472ef6ab915eb8 (patch)
tree70b1741e66c8ab59bc8efe5605683973fd6dc1fd
parent1a302d4d473a80164082b7c8ecc44de0c08442ad (diff)
kernel/timer: Remove unnecessary WakeupAllWaitingThreads() override
This implementation just calls the base class variant of the function, so this isn't necessary.
-rw-r--r--src/core/hle/kernel/timer.cpp4
-rw-r--r--src/core/hle/kernel/timer.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/src/core/hle/kernel/timer.cpp b/src/core/hle/kernel/timer.cpp
index 2c4f50e2b..3afe60469 100644
--- a/src/core/hle/kernel/timer.cpp
+++ b/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());
diff --git a/src/core/hle/kernel/timer.h b/src/core/hle/kernel/timer.h
index 12915c1b1..ce3e74426 100644
--- a/src/core/hle/kernel/timer.h
+++ b/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