blob: remove unused bs_sequence_to_batch_completion

bs_sequence_to_batch_completion has been unused since the removal of
other unused code in commit ba870c2e99.

Change-Id: Ifb60c65c1c68d1855b49eda4c57d99e983bca5ec
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11560
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
Mike Gerdts 2022-02-14 07:49:45 -06:00 committed by Jim Harris
parent 662678dfbe
commit 6c8dc25e13
2 changed files with 0 additions and 16 deletions

View File

@ -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)

View File

@ -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