@@ -2324,8 +2324,7 @@ static int blk_mq_init_hctx(struct request_queue *q,
static struct blk_mq_hw_ctx *
blk_mq_alloc_hctx(struct request_queue *q,
- struct blk_mq_tag_set *set,
- unsigned hctx_idx, int node)
+ struct blk_mq_tag_set *set, int node)
{
struct blk_mq_hw_ctx *hctx;
@@ -2753,7 +2752,7 @@ static struct blk_mq_hw_ctx *blk_mq_alloc_and_init_hctx(
spin_unlock(&q->unused_hctx_lock);
if (!hctx)
- hctx = blk_mq_alloc_hctx(q, set, hctx_idx, node);
+ hctx = blk_mq_alloc_hctx(q, set, node);
if (!hctx)
goto fail;
Unused. Signed-off-by: Hannes Reinecke <hare@suse.com> --- block/blk-mq.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)