diff options
author | Jianpeng Ma <jianpeng.ma@intel.com> | 2020-04-03 04:54:46 +0200 |
---|---|---|
committer | Jianpeng Ma <jianpeng.ma@intel.com> | 2020-04-03 04:54:58 +0200 |
commit | 9d18b3187ece11a46375f8ec46cfb04e0f7c5ca0 (patch) | |
tree | 3371eb83c364436f70126c8e26595591b3158118 /src/common/Throttle.h | |
parent | msg: remove unsued code. (diff) | |
download | ceph-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.h | 3 |
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); |