diff options
author | 2022-02-15 03:52:47 -0800 | |
---|---|---|
committer | 2022-02-15 07:51:46 -0700 | |
commit | ec9fd2a13d743ae129bd1b5c6edea0d65260ce10 (patch) | |
tree | 224894b15d00a5d87f4cfcd4a33d1e5aa689eeda /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block: remove biodoc.rst (diff) | |
download | linux-dev-ec9fd2a13d743ae129bd1b5c6edea0d65260ce10.tar.xz linux-dev-ec9fd2a13d743ae129bd1b5c6edea0d65260ce10.zip |
blk-lib: don't check bdev_get_queue() NULL check
Based on the comment present in the bdev_get_queue()
bdev->bd_queue can never be NULL. Remove the NULL check for the local
variable q that is set from bdev_get_queue() for discard, write_same,
and write_zeroes.
Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20220215115247.11717-2-kch@nvidia.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions