]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/seastore: remove unused method 41363/head
authorAran85 <z13121369189@gmail.com>
Mon, 17 May 2021 12:57:38 +0000 (20:57 +0800)
committerAran85 <z13121369189@gmail.com>
Mon, 24 May 2021 01:40:44 +0000 (09:40 +0800)
Signed-off-by: Zengran Zhang <zhangzengran@sangfor.com.cn>
src/crimson/os/seastore/cached_extent.h

index e3da26592d0758e63478777f008c3df651551ba4..5dd80b7c45918e8a196981fa589404cc981f7bc1 100644 (file)
@@ -550,13 +550,6 @@ public:
     }
   }
 
-  template <typename T>
-  void remove(T &l) {
-    for (auto &ext : l) {
-      extent_index.erase(l);
-    }
-  }
-
   ~ExtentIndex() { assert(extent_index.empty()); }
 };