From c1abdae84dd01f46207c5e9a418af9d298341b29 Mon Sep 17 00:00:00 2001 From: Michal Jarzabek Date: Sun, 28 Aug 2016 07:32:04 +0100 Subject: [PATCH] common/Throttle.h: remove unneeded class Signed-off-by: Michal Jarzabek --- src/common/Throttle.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/common/Throttle.h b/src/common/Throttle.h index f182c0c8797..cafe0d9a116 100644 --- a/src/common/Throttle.h +++ b/src/common/Throttle.h @@ -242,17 +242,6 @@ private: bool m_ignore_enoent; }; -class C_SimpleThrottle : public Context { -public: - C_SimpleThrottle(SimpleThrottle *throttle) : m_throttle(throttle) { - m_throttle->start_op(); - } - virtual void finish(int r) { - m_throttle->end_op(r); - } -private: - SimpleThrottle *m_throttle; -}; class OrderedThrottle; -- 2.39.5