From: Samuel Just Date: Wed, 8 Oct 2014 22:41:19 +0000 (-0700) Subject: ReplicatedPG::do_op: remove unused backfill_target_info X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2919%2Fhead;p=ceph.git ReplicatedPG::do_op: remove unused backfill_target_info Not removed in previous backported patch. Signed-off-by: Samuel Just --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 75fbd75b74d..ff20ceb7b4d 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -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; }