summaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJunxiao Bi <junxiao.bi@oracle.com>2019-08-16 14:12:33 -0700
committerJens Axboe <axboe@kernel.dk>2019-08-19 08:55:10 -0600
commit988721db93b2f5e6477cb0ea0b64ba9bcfd67778 (patch)
treecb137217d940f1513a76e0efa6fa78aae3571844 /block/blk-core.c
parent6444f47eb8678a43d5260c67b89c18b1ea09e79e (diff)
block: remove struct request_queue queue_head
The dispatch list is not used any more, as the legacy block IO stack has been removed. Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Junxiao Bi <junxiao.bi@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 834aea04718f..5d0d7441a443 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -482,7 +482,6 @@ struct request_queue *blk_alloc_queue_node(gfp_t gfp_mask, int node_id)
if (!q)
return NULL;
- INIT_LIST_HEAD(&q->queue_head);
q->last_merge = NULL;
q->id = ida_simple_get(&blk_queue_ida, 0, 0, gfp_mask);