From: Jianpeng Ma Date: Fri, 3 Apr 2020 02:54:46 +0000 (+0800) Subject: common/Throttle: remove unsued code. X-Git-Tag: v16.1.0~2669^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9d18b3187ece11a46375f8ec46cfb04e0f7c5ca0;p=ceph.git common/Throttle: remove unsued code. Signed-off-by: Jianpeng Ma --- diff --git a/src/common/Throttle.h b/src/common/Throttle.h index c6537650451e7..e38886de06d33 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);