From: Radoslaw Zarzynski Date: Wed, 12 Sep 2018 21:08:50 +0000 (+0200) Subject: common: drop the unused get_comparator() from SharedLRU. X-Git-Tag: v14.1.0~232^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b701f8f3e958974acc75e04fcfb76d25fab3f331;p=ceph.git common: drop the unused get_comparator() from SharedLRU. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/common/shared_cache.hpp b/src/common/shared_cache.hpp index 481d5d6b4625..20914d6349c8 100644 --- a/src/common/shared_cache.hpp +++ b/src/common/shared_cache.hpp @@ -142,10 +142,6 @@ public: weak_refs.insert(temp.begin(), temp.end()); } - C get_comparator() { - return weak_refs.key_comp(); - } - void set_cct(CephContext *c) { cct = c; }