]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/Throttle.h: remove unneeded class 10902/head
authorMichal Jarzabek <stiopa@gmail.com>
Sun, 28 Aug 2016 06:32:04 +0000 (07:32 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Sun, 28 Aug 2016 06:33:36 +0000 (07:33 +0100)
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/common/Throttle.h

index f182c0c8797d69bd56074f97d4a47df18d412e15..cafe0d9a1160a77f024990ecf7da613bcefd5c47 100644 (file)
@@ -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;