From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758692AbcIPIwh (ORCPT ); Fri, 16 Sep 2016 04:52:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34718 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756272AbcIPIvx (ORCPT ); Fri, 16 Sep 2016 04:51:53 -0400 From: Alexander Gordeev To: linux-kernel@vger.kernel.org Cc: Alexander Gordeev , Jens Axboe , linux-nvme@lists.infradead.org Subject: [PATCH 07/21] blk-mq: Remove a redundant assignment Date: Fri, 16 Sep 2016 10:51:18 +0200 Message-Id: <0922f8f4c395a1df22e21aea98ff446e1ac643a9.1474014910.git.agordeev@redhat.com> In-Reply-To: References: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 16 Sep 2016 08:51:48 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org blk_mq_hw_ctx::queue_num is initialized in blk_mq_init_hctx() function. CC: Jens Axboe CC: linux-nvme@lists.infradead.org Signed-off-by: Alexander Gordeev --- block/blk-mq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 738e109..657e748 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -2013,7 +2013,6 @@ static void blk_mq_realloc_hw_ctxs(struct blk_mq_tag_set *set, atomic_set(&hctxs[i]->nr_active, 0); hctxs[i]->numa_node = node; - hctxs[i]->queue_num = i; if (blk_mq_init_hctx(q, set, hctxs[i], i)) { free_cpumask_var(hctxs[i]->cpumask); -- 1.8.3.1