> +enum elv_merge elv_merge_ctx(struct request_queue *q, struct request **req,
> +             struct bio *bio, struct blk_mq_ctx *ctx)
> +{
> +     WARN_ON_ONCE(!q->mq_ops);
> +     return __elv_merge(q, req, bio, ctx->hash, ctx->last_merge);
> +}

This function only has a single caller, just open code it.

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to