summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJunxiao Bi <junxiao.bi@oracle.com>2019-08-16 23:12:33 +0200
committerJens Axboe <axboe@kernel.dk>2019-08-19 16:55:10 +0200
commit988721db93b2f5e6477cb0ea0b64ba9bcfd67778 (patch)
treecb137217d940f1513a76e0efa6fa78aae3571844 /block/blk-core.c
parentwriteback, cgroup: inode_switch_wbs() shouldn't give up on wb_switch_rwsem tr... (diff)
downloadlinux-988721db93b2f5e6477cb0ea0b64ba9bcfd67778.tar.xz
linux-988721db93b2f5e6477cb0ea0b64ba9bcfd67778.zip
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);