diff options
author | Jens Axboe <axboe@fb.com> | 2016-04-12 23:45:39 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-04-13 00:00:39 +0200 |
commit | 17fe95f4605c3a2ec3df763876e3abf2eca790a7 (patch) | |
tree | d88cd1166a3ba37adec53f100da4728a6222e23f /drivers/block/mtip32xx | |
parent | loop: switch to using blk_queue_write_cache() (diff) | |
download | linux-17fe95f4605c3a2ec3df763876e3abf2eca790a7.tar.xz linux-17fe95f4605c3a2ec3df763876e3abf2eca790a7.zip |
mtip32xx: remove call to blk_queue_flush()
The driver calls it with 0 for flags, since it doesn't have a writeback
cache. Just remove the call, as it's a no-op right now.
Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/block/mtip32xx')
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c index 404ae98b2fc4..6053e4659fa2 100644 --- a/drivers/block/mtip32xx/mtip32xx.c +++ b/drivers/block/mtip32xx/mtip32xx.c @@ -4023,12 +4023,6 @@ skip_create_disk: blk_queue_io_min(dd->queue, 4096); blk_queue_bounce_limit(dd->queue, dd->pdev->dma_mask); - /* - * write back cache is not supported in the device. FUA depends on - * write back cache support, hence setting flush support to zero. - */ - blk_queue_flush(dd->queue, 0); - /* Signal trim support */ if (dd->trim_supp == true) { set_bit(QUEUE_FLAG_DISCARD, &dd->queue->queue_flags); |