1
0
mirror of https://github.com/ceph/ceph synced 2024-12-25 21:03:31 +00:00

osdc: remove unused function.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
This commit is contained in:
Jianpeng Ma 2018-03-28 20:17:12 +08:00
parent 3b164cb252
commit e88d0bed57
2 changed files with 0 additions and 13 deletions

View File

@ -3355,17 +3355,6 @@ int Objecter::take_linger_budget(LingerOp *info)
return 1;
}
void Objecter::unregister_op(Op *op)
{
OSDSession::unique_lock sl(op->session->lock);
op->session->ops.erase(op->tid);
sl.unlock();
put_session(op->session);
op->session = NULL;
inflight_ops--;
}
/* This function DOES put the passed message before returning */
void Objecter::handle_osd_op_reply(MOSDOpReply *m)
{

View File

@ -2162,8 +2162,6 @@ private:
void _op_submit_with_budget(Op *op, shunique_lock& lc,
ceph_tid_t *ptid,
int *ctx_budget = NULL);
inline void unregister_op(Op *op);
// public interface
public:
void op_submit(Op *op, ceph_tid_t *ptid = NULL, int *ctx_budget = NULL);