]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG::do_op: remove unused backfill_target_info 2919/head
authorSamuel Just <sam.just@inktank.com>
Wed, 8 Oct 2014 22:41:19 +0000 (15:41 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 8 Oct 2014 22:55:21 +0000 (15:55 -0700)
Not removed in previous backported patch.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedPG.cc

index 75fbd75b74daca517c8b584e61da76177f421bb9..ff20ceb7b4d628e8a70a2ab6c9d7f7fce461d505 100644 (file)
@@ -802,10 +802,8 @@ void ReplicatedPG::do_op(OpRequestRef op)
   // don't apply on the backfill_target and it doesn't matter.)
   // The last_backfill_started is used as the backfill line since
   // that determines the boundary for writes.
-  pg_info_t *backfill_target_info = NULL;
   bool before_backfill = false;
   if (backfill_target >= 0) {
-    backfill_target_info = &peer_info[backfill_target];
     before_backfill = obc->obs.oi.soid <= last_backfill_started;
   }