From b92bff2658f2d5b2a0e1a840226eebf05525e2a2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 10 Feb 2017 21:40:30 +0100 Subject: [PATCH] IOThread: remove unused function io_thread_inside() --- src/IOThread.cxx | 6 ------ src/IOThread.hxx | 7 ------- 2 files changed, 13 deletions(-) diff --git a/src/IOThread.cxx b/src/IOThread.cxx index a7782a0f0..7f0a93aed 100644 --- a/src/IOThread.cxx +++ b/src/IOThread.cxx @@ -100,9 +100,3 @@ io_thread_get() return *io.loop; } - -bool -io_thread_inside(void) -{ - return io.thread.IsInside(); -} diff --git a/src/IOThread.hxx b/src/IOThread.hxx index 1c19c634e..97a682799 100644 --- a/src/IOThread.hxx +++ b/src/IOThread.hxx @@ -45,11 +45,4 @@ gcc_const EventLoop & io_thread_get(); -/** - * Is the current thread the I/O thread? - */ -gcc_pure -bool -io_thread_inside(); - #endif