]> git.baikalelectronics.ru Git - kernel.git/commit
block: Remove unused flush_queue_delayed in struct blk_flush_queue
authorBaolin Wang <baolin.wang7@gmail.com>
Sun, 17 May 2020 11:49:41 +0000 (19:49 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 May 2020 15:42:46 +0000 (09:42 -0600)
commita2a9d58d63acdf133813d94b08ec35e17e1c752e
tree913c6a1e80f067d1af6f966b8b2775483546bfd2
parent2c7d90b69a62212190bde746a5287098c79af007
block: Remove unused flush_queue_delayed in struct blk_flush_queue

The flush_queue_delayed was introdued to hold queue if flush is
running for non-queueable flush drive by commit 4b7bb58f56cb
("hold queue if flush is running for non-queueable flush drive"),
but the non mq parts of the flush code had been removed by
commit 18c0027875c9 ("block: remove non mq parts from the flush code"),
as well as removing the usage of the flush_queue_delayed flag.
Thus remove the unused flush_queue_delayed flag.

Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-flush.c
block/blk.h