From be5a99d69b4b3785823867a6c39e4cde488a2a33 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Fri, 2 May 2014 00:08:41 +0200 Subject: [PATCH] SimpleLock.h: remove unused private function clear_more() Remove unused private function clear_more(), it's replaced by try_clear_more(). Signed-off-by: Danny Al-Gaaf --- src/mds/SimpleLock.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/mds/SimpleLock.h b/src/mds/SimpleLock.h index 2cfc99997ddf3..f96895e34c888 100644 --- a/src/mds/SimpleLock.h +++ b/src/mds/SimpleLock.h @@ -197,13 +197,6 @@ private: _unstable = new unstable_bits_t; return _unstable; } - void clear_more() { - if (_unstable) { - assert(_unstable->empty()); - delete _unstable; - _unstable = NULL; - } - } void try_clear_more() { if (_unstable && _unstable->empty()) { delete _unstable; -- 2.39.5