]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: remove unused method
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 2 Nov 2022 16:53:52 +0000 (12:53 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 1 Aug 2023 15:15:59 +0000 (11:15 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/MDLog.h

index b42fa5dd7159445dd9637096ab1b0d1af2e1bab4..f86e607564058f7c4eca4a40bdf6224ef6d8860c 100644 (file)
@@ -157,10 +157,6 @@ public:
   void trim_expired_segments();
   void trim(int max=-1);
   int trim_all();
-  bool expiry_done() const
-  {
-    return expiring_segments.empty() && expired_segments.empty();
-  };
 
   void create(MDSContext *onfinish);  // fresh, empty log! 
   void open(MDSContext *onopen);      // append() or replay() to follow!