diff options
author | Pankaj Raghav <p.raghav@samsung.com> | 2023-01-10 17:36:33 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-01-30 01:18:34 +0300 |
commit | fea127b36c93d9afe49561b640fe1fc541dc3ba4 (patch) | |
tree | 34e13d12c3e8f96416f5424c3962ddad01859c32 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7e2e355dd9c9031e19b573d2c48171b0418ec552 (diff) | |
download | linux-fea127b36c93d9afe49561b640fe1fc541dc3ba4.tar.xz |
block: remove superfluous check for request queue in bdev_is_zoned()
Remove the superfluous request queue check in bdev_is_zoned() as
bdev_get_queue() can never return NULL.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Link: https://lore.kernel.org/r/20230110143635.77300-2-p.raghav@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions