block: remove the disk and queue NULL checks in blkdev_issue_flush
authorChristoph Hellwig <hch@lst.de>
Wed, 13 May 2020 12:36:01 +0000 (14:36 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 22 May 2020 14:45:59 +0000 (08:45 -0600)
commitc81b49d4d6ca3876fad42fe99e685605294f757c
treef89e2f08966e8d975bcce34465bee0ea39acdfad
parent9398554fb3979852512ff4f1405e759889b45c16
block: remove the disk and queue NULL checks in blkdev_issue_flush

Both of these never can be NULL for a live block device.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-flush.c