]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG: removed unused OnComplete struct
authorJosh Durgin <jdurgin@redhat.com>
Mon, 23 May 2016 23:49:52 +0000 (16:49 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Sat, 9 Jul 2016 01:33:12 +0000 (18:33 -0700)
Added but never used in e7edf20fb7264bfaeeb30ac0185e9edc925878b6

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/osd/ReplicatedPG.cc

index b35413127b4c03534bb325fd8db18922246d9ba4..a624f3722c5ce2953f773430858d41d06912688c 100644 (file)
@@ -9810,15 +9810,6 @@ void ReplicatedPG::mark_all_unfound_lost(
 
   info.stats.stats_invalid = true;
 
-  struct OnComplete {
-    ReplicatedPG *pg;
-    std::function<void(void)> on_complete;
-    void operator()() {
-      pg->requeue_ops(pg->waiting_for_all_missing);
-      pg->waiting_for_all_missing.clear();
-      pg->queue_recovery();
-    }
-  };
   submit_log_entries(
     log_entries,
     std::move(manager),