From 172ce41db4b2d6fa5956c4baa63475b15f5d4bd8 Mon Sep 17 00:00:00 2001 From: Baolin Wang Date: Sun, 17 May 2020 19:49:41 +0800 Subject: 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 3ac0cc450870 ("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 7e992f847a08 ("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 Reviewed-by: Ming Lei Signed-off-by: Jens Axboe --- block/blk.h | 1 - 1 file changed, 1 deletion(-) (limited to 'block/blk.h') diff --git a/block/blk.h b/block/blk.h index af11fd400c72..5db4ec1e85f7 100644 --- a/block/blk.h +++ b/block/blk.h @@ -19,7 +19,6 @@ extern struct dentry *blk_debugfs_root; #endif struct blk_flush_queue { - unsigned int flush_queue_delayed:1; unsigned int flush_pending_idx:1; unsigned int flush_running_idx:1; blk_status_t rq_status; -- cgit v1.2.3