Skip to content

Commit

Permalink
osd/PrimaryLogPG: drop unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Jun <[email protected]>
  • Loading branch information
Yan-waller committed Sep 20, 2017
1 parent bebea1c commit f8b5e4c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/osd/PrimaryLogPG.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13571,7 +13571,6 @@ void PrimaryLogPG::scrub_snapshot_metadata(
{
dout(10) << __func__ << dendl;

coll_t c(info.pgid);
bool repair = state_test(PG_STATE_REPAIR);
bool deep_scrub = state_test(PG_STATE_DEEP_SCRUB);
const char *mode = (repair ? "repair": (deep_scrub ? "deep-scrub" : "scrub"));
Expand All @@ -13587,8 +13586,6 @@ void PrimaryLogPG::scrub_snapshot_metadata(
unsigned missing = 0;
inconsistent_snapset_wrapper soid_error, head_error;

bufferlist last_data;

for (map<hobject_t,ScrubMap::object>::reverse_iterator
p = scrubmap.objects.rbegin(); p != scrubmap.objects.rend(); ++p) {
const hobject_t& soid = p->first;
Expand Down

0 comments on commit f8b5e4c

Please sign in to comment.