Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1484808
| From | Alexander Gordeev <agordeev@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 07/21] blk-mq: Remove a redundant assignment |
| Date | 2016-09-16 11:00 +0200 |
| Message-ID | <shXa2-2mV-27@gated-at.bofh.it> (permalink) |
| References | <shXa1-2mV-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
blk_mq_hw_ctx::queue_num is initialized in blk_mq_init_hctx()
function.
CC: Jens Axboe <axboe@kernel.dk>
CC: linux-nvme@lists.infradead.org
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
---
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 07/21] blk-mq: Remove a redundant assignment Alexander Gordeev <agordeev@redhat.com> - 2016-09-16 11:00 +0200
csiph-web