Thread (21 messages) 21 messages, 2 authors, 2016-10-09

[PATCH v2 2/8] blk-mq: Remove a redundant assignment

flat view
STALE3656d REVIEWED: 1 (0M)

From: Alexander Gordeev <hidden>
Date: 2016-09-30 13:25:13
Also in: lkml
Subsystem: block layer, the rest · Maintainers: Jens Axboe, Linus Torvalds

1 review trailer.

blk_mq_hw_ctx::queue_num is initialized in blk_mq_init_hctx()
function.

CC: linux-block@vger.kernel.org
Reviewed-by: Omar Sandoval <redacted>
Signed-off-by: Alexander Gordeev <redacted>
---
 block/blk-mq.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/block/blk-mq.c b/block/blk-mq.c
index c96a168..92c2519 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -1928,7 +1928,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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help