diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-02-09 15:40:24 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-02-09 15:40:24 -0700 |
commit | d11a3998985b351aaab6bbdc23bc884bd5e815c8 (patch) | |
tree | 92340a95a76fe5e482824a5c5a4698f65a45e066 /drivers/block | |
parent | dc7292a5bcb4c878b076fca2ac3fc22f81b8f8df (diff) | |
download | linux-stable-d11a3998985b351aaab6bbdc23bc884bd5e815c8.tar.gz linux-stable-d11a3998985b351aaab6bbdc23bc884bd5e815c8.tar.bz2 linux-stable-d11a3998985b351aaab6bbdc23bc884bd5e815c8.zip |
block: kill QUEUE_FLAG_FLUSH_NQ
We have various helpers for setting/clearing this flag, and also
a helper to check if the queue supports queueable flushes or not.
But nobody uses them anymore, kill it with fire.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/null_blk_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/null_blk_main.c b/drivers/block/null_blk_main.c index 62c9654b9ce8..83c38a6217d7 100644 --- a/drivers/block/null_blk_main.c +++ b/drivers/block/null_blk_main.c @@ -1678,7 +1678,6 @@ static int null_add_dev(struct nullb_device *dev) if (dev->cache_size > 0) { set_bit(NULLB_DEV_FL_CACHE, &nullb->dev->flags); blk_queue_write_cache(nullb->q, true, true); - blk_queue_flush_queueable(nullb->q, true); } if (dev->zoned) { |