From 3fd70a769a860c0b8aba8efe5a84b548dec44ed9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 20 Jun 2016 10:48:01 +0200 Subject: [PATCH] event/SignalMonitor: remove unused function SignalMonitorGetEventLoop --- src/event/SignalMonitor.cxx | 6 ------ src/event/SignalMonitor.hxx | 7 ------- 2 files changed, 13 deletions(-) diff --git a/src/event/SignalMonitor.cxx b/src/event/SignalMonitor.cxx index 16e05b1f6..77ae975a9 100644 --- a/src/event/SignalMonitor.cxx +++ b/src/event/SignalMonitor.cxx @@ -170,12 +170,6 @@ SignalMonitorFinish() monitor.Destruct(); } -EventLoop & -SignalMonitorGetEventLoop() -{ - return monitor->GetEventLoop(); -} - void SignalMonitorRegister(int signo, SignalHandler handler) { diff --git a/src/event/SignalMonitor.hxx b/src/event/SignalMonitor.hxx index 659a84d14..5f14903de 100644 --- a/src/event/SignalMonitor.hxx +++ b/src/event/SignalMonitor.hxx @@ -42,13 +42,6 @@ SignalMonitorInit(EventLoop &loop); void SignalMonitorFinish(); -/** - * Obtain a reference to the #EventLoop that was passed to - * SignalMonitorInit(). - */ -EventLoop & -SignalMonitorGetEventLoop(); - /** * Register a handler for the specified signal. The handler will be * invoked in a safe context.