]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG: remove unused local variables 6360/head
authorxiexingguo <258156334@qq.com>
Fri, 23 Oct 2015 07:54:27 +0000 (15:54 +0800)
committerxiexingguo <258156334@qq.com>
Fri, 23 Oct 2015 07:54:27 +0000 (15:54 +0800)
remove some unused local variables.
Fixes: #13575
Signed-off-by: xie.xingguo@zte.com.cn
src/osd/ReplicatedPG.cc

index 5c6d587d61825774269e541535004e7e7fad23b8..4a43efe0b72c51e68f620689bf14dd87f497f7e1 100644 (file)
@@ -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,