summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorChaitanya Kulkarni <kch@nvidia.com>2022-02-15 14:52:47 +0300
committerJens Axboe <axboe@kernel.dk>2022-02-15 17:51:46 +0300
commitec9fd2a13d743ae129bd1b5c6edea0d65260ce10 (patch)
tree224894b15d00a5d87f4cfcd4a33d1e5aa689eeda /tools/perf/scripts/python/syscall-counts.py
parent69591a402d18fd60c8c95b061279f17bf0b78129 (diff)
downloadlinux-ec9fd2a13d743ae129bd1b5c6edea0d65260ce10.tar.xz
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions