From 51385930cdb74f6f32f389ce0d447c9d8ad2e7db Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Mon, 28 Nov 2011 12:30:46 -0800 Subject: [PATCH] Objecter: remove unused variable in op_submit These flags are probably relics from when the function got split; they belong in send_op now. Signed-off-by: Greg Farnum --- src/osdc/Objecter.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc index 539242eefbadb..e6e130226d09b 100644 --- a/src/osdc/Objecter.cc +++ b/src/osdc/Objecter.cc @@ -825,15 +825,12 @@ tid_t Objecter::op_submit(Op *op, OSDSession *s) } // add to gather set(s) - int flags = op->flags; if (op->onack) { - flags |= CEPH_OSD_FLAG_ACK; ++num_unacked; } else { ldout(cct, 20) << " note: not requesting ack" << dendl; } if (op->oncommit) { - flags |= CEPH_OSD_FLAG_ONDISK; ++num_uncommitted; } else { ldout(cct, 20) << " note: not requesting commit" << dendl; -- 2.39.5