diff --git a/lib/blob/request.c b/lib/blob/request.c index bdd013285..6f1d69d9a 100644 --- a/lib/blob/request.c +++ b/lib/blob/request.c @@ -504,18 +504,4 @@ bs_user_op_abort(spdk_bs_user_op_t *op) TAILQ_INSERT_TAIL(&set->channel->reqs, set, link); } -void -bs_sequence_to_batch_completion(void *cb_arg, int bserrno) -{ - struct spdk_bs_request_set *set = (struct spdk_bs_request_set *)cb_arg; - - set->u.batch.outstanding_ops--; - - if (set->u.batch.outstanding_ops == 0 && set->u.batch.batch_closed) { - if (set->cb_args.cb_fn) { - set->cb_args.cb_fn(set->cb_args.channel, set->cb_args.cb_arg, bserrno); - } - } -} - SPDK_LOG_REGISTER_COMPONENT(blob_rw) diff --git a/lib/blob/request.h b/lib/blob/request.h index 5c98e8a0e..619902501 100644 --- a/lib/blob/request.h +++ b/lib/blob/request.h @@ -212,6 +212,4 @@ void bs_user_op_execute(spdk_bs_user_op_t *op); void bs_user_op_abort(spdk_bs_user_op_t *op); -void bs_sequence_to_batch_completion(void *cb_arg, int bserrno); - #endif