From 4596ef5274e05c5e022bd21ba7472ef6ab915eb8 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 30 Jan 2019 12:27:02 -0500 Subject: kernel/timer: Remove unnecessary WakeupAllWaitingThreads() override This implementation just calls the base class variant of the function, so this isn't necessary. --- src/core/hle/kernel/timer.cpp | 4 ---- src/core/hle/kernel/timer.h | 2 -- 2 files changed, 6 deletions(-) (limited to 'src/core') 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 -- cgit v1.2.3