From: Junxiao Bi Date: Fri, 16 Aug 2019 21:12:33 +0000 (-0700) Subject: block: remove struct request_queue queue_head X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=988721db93b2f5e6477cb0ea0b64ba9bcfd67778;p=linux.git 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 Reviewed-by: Ming Lei Signed-off-by: Junxiao Bi Signed-off-by: Jens Axboe --- diff --git a/block/blk-core.c b/block/blk-core.c index 834aea04718f8..5d0d7441a4438 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); diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 167bf879f072a..4798bb25f1ee6 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -391,10 +391,6 @@ static inline int blkdev_reset_zones_ioctl(struct block_device *bdev, #endif /* CONFIG_BLK_DEV_ZONED */ struct request_queue { - /* - * Together with queue_head for cacheline sharing - */ - struct list_head queue_head; struct request *last_merge; struct elevator_queue *elevator;