summaryrefslogtreecommitdiffstats
path: root/src/common/Throttle.h
diff options
context:
space:
mode:
authorJianpeng Ma <jianpeng.ma@intel.com>2020-04-03 04:54:46 +0200
committerJianpeng Ma <jianpeng.ma@intel.com>2020-04-03 04:54:58 +0200
commit9d18b3187ece11a46375f8ec46cfb04e0f7c5ca0 (patch)
tree3371eb83c364436f70126c8e26595591b3158118 /src/common/Throttle.h
parentmsg: remove unsued code. (diff)
downloadceph-9d18b3187ece11a46375f8ec46cfb04e0f7c5ca0.tar.xz
ceph-9d18b3187ece11a46375f8ec46cfb04e0f7c5ca0.zip
common/Throttle: remove unsued code.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Diffstat (limited to 'src/common/Throttle.h')
-rw-r--r--src/common/Throttle.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/Throttle.h b/src/common/Throttle.h
index c6537650451..e38886de06d 100644
--- a/src/common/Throttle.h
+++ b/src/common/Throttle.h
@@ -117,9 +117,6 @@ public:
*/
void reset();
- bool should_wait(int64_t c) const {
- return _should_wait(c);
- }
void reset_max(int64_t m) {
std::lock_guard l(lock);
_reset_max(m);