From 3a70a16ca78d2627c0b754ae872b8363c8154f8f Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 23 Apr 2023 19:01:39 +0200 Subject: [PATCH] LibCore: Remove unused EventLoop::wake_current() --- Userland/Libraries/LibCore/EventLoop.cpp | 5 ----- Userland/Libraries/LibCore/EventLoop.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/Userland/Libraries/LibCore/EventLoop.cpp b/Userland/Libraries/LibCore/EventLoop.cpp index a1784964fd..f07ef2fed4 100644 --- a/Userland/Libraries/LibCore/EventLoop.cpp +++ b/Userland/Libraries/LibCore/EventLoop.cpp @@ -894,11 +894,6 @@ void EventLoop::unregister_notifier(Badge, Notifier& notifier) s_notifiers->remove(¬ifier); } -void EventLoop::wake_current() -{ - EventLoop::current().wake(); -} - void EventLoop::wake() { dbgln_if(EVENTLOOP_DEBUG, "Core::EventLoop::wake()"); diff --git a/Userland/Libraries/LibCore/EventLoop.h b/Userland/Libraries/LibCore/EventLoop.h index 7b49eb8e8f..d9a75cb4e4 100644 --- a/Userland/Libraries/LibCore/EventLoop.h +++ b/Userland/Libraries/LibCore/EventLoop.h @@ -118,8 +118,6 @@ public: static EventLoop& current(); - static void wake_current(); - private: void wait_for_event(WaitMode); Optional