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:
parent
662678dfbe
commit
6c8dc25e13
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user