]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/lba_manager: drop unused code
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 30 Aug 2021 07:13:42 +0000 (15:13 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 30 Aug 2021 08:06:25 +0000 (16:06 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/lba_manager/btree/btree_range_pin.h

index bdc76c441dbe62a1cbb214c226154f7426999b77..e087b16fa50bfcd7ccc330422793dfa298475098 100644 (file)
@@ -187,10 +187,6 @@ class btree_pin_set_t {
   using pins_t = btree_range_pin_t::index_t;
   pins_t pins;
 
-  pins_t::iterator get_iter(btree_range_pin_t &pin) {
-    return pins_t::s_iterator_to(pin);
-  }
-
   /// Removes pin from set optionally checking whether parent has other children
   void remove_pin(btree_range_pin_t &pin, bool check_parent);