Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReplicatedPG: remove unused local variables #6360

Merged
merged 1 commit into from Oct 23, 2015
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+0 −2
Diff settings

Always

Just for now

ReplicatedPG: remove unused local variables

remove some unused local variables.
Fixes: #13575
Signed-off-by: xie.xingguo@zte.com.cn
  • Loading branch information...
xiexingguo committed Oct 23, 2015
commit ebfd750daf5e75d08e772d30c2a3d103eb5c7fbd
Copy path View 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,
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.