summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorZiyang Zhang <ZiyangZhang@linux.alibaba.com>2023-02-07 10:08:37 +0300
committerJens Axboe <axboe@kernel.dk>2023-02-07 17:21:31 +0300
commit731e208d7b4b38d2bac4b7c53403c8abbf306d01 (patch)
treec2ab7da175883ffa10d3eaacb820a8400d5f4e70 /tools/perf/scripts/python/export-to-sqlite.py
parent83e8864fee26f63a7435e941b7c36a20fd6fe93e (diff)
downloadlinux-731e208d7b4b38d2bac4b7c53403c8abbf306d01.tar.xz
ublk: remove unnecessary NULL check in ublk_rq_has_data()
bio_has_data() allows a NULL bio so the NULL check in ublk_rq_has_data() is unnecessary. Signed-off-by: Ziyang Zhang <ZiyangZhang@linux.alibaba.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20230207070839.370817-2-ZiyangZhang@linux.alibaba.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions