From ebfd750daf5e75d08e772d30c2a3d103eb5c7fbd Mon Sep 17 00:00:00 2001 From: xiexingguo <258156334@qq.com> Date: Fri, 23 Oct 2015 15:54:27 +0800 Subject: [PATCH] ReplicatedPG: remove unused local variables remove some unused local variables. Fixes: #13575 Signed-off-by: xie.xingguo@zte.com.cn --- src/osd/ReplicatedPG.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 5c6d587d61825..4a43efe0b72c5 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -3285,7 +3285,6 @@ void ReplicatedPG::snap_trimmer(epoch_t queued) snap_trim_queued = false; dout(10) << "snap_trimmer entry" << dendl; if (is_primary()) { - entity_inst_t nobody; if (scrubber.active) { dout(10) << " scrubbing, will requeue snap_trimmer after" << dendl; scrubber.queue_snap_trim = true; @@ -8205,7 +8204,6 @@ void ReplicatedPG::handle_watch_timeout(WatchRef watch) OpContext::watch_disconnect_t(watch->get_cookie(), watch->get_entity(), true)); - entity_inst_t nobody; PGBackend::PGTransaction *t = ctx->op_t; ctx->log.push_back(pg_log_entry_t(pg_log_entry_t::MODIFY, obc->obs.oi.soid, ctx->at_version, -- 2.39.5