From: Danny Al-Gaaf Date: Thu, 1 May 2014 22:08:41 +0000 (+0200) Subject: SimpleLock.h: remove unused private function clear_more() X-Git-Tag: v0.81~76^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=be5a99d69b4b3785823867a6c39e4cde488a2a33;p=ceph.git 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 --- diff --git a/src/mds/SimpleLock.h b/src/mds/SimpleLock.h index 2cfc99997ddf..f96895e34c88 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;