commit | 81475beb1b5996505a39cd1d9316ce1e668932a2 | [log] [tgz] |
---|---|---|
author | John Garry <john.g.garry@oracle.com> | Thu Aug 15 16:32:28 2024 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Aug 19 09:48:59 2024 -0600 |
tree | 60d3b1d20a869c45b7959c9eaadfeedc3c33f7ce | |
parent | 64b582ca88ca11400467b282d5fa3b870ded1c11 [diff] |
block: Drop NULL check in bdev_write_zeroes_sectors() Function bdev_get_queue() must not return NULL, so drop the check in bdev_write_zeroes_sectors(). Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: John Garry <john.g.garry@oracle.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Nitesh Shetty <nj.shetty@samsung.com> Link: https://lore.kernel.org/r/20240815163228.216051-3-john.g.garry@oracle.com Signed-off-by: Jens Axboe <axboe@kernel.dk>