From: xiexingguo <258156334@qq.com> Date: Fri, 23 Oct 2015 07:54:27 +0000 (+0800) Subject: ReplicatedPG: remove unused local variables X-Git-Tag: v10.0.0~70^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ebfd750daf5e75d08e772d30c2a3d103eb5c7fbd;p=ceph.git ReplicatedPG: remove unused local variables remove some unused local variables. Fixes: #13575 Signed-off-by: xie.xingguo@zte.com.cn --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 5c6d587d6182..4a43efe0b72c 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,