diff options
author | Ziyang Zhang <ZiyangZhang@linux.alibaba.com> | 2023-02-07 15:08:37 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-02-07 07:21:31 -0700 |
commit | 731e208d7b4b38d2bac4b7c53403c8abbf306d01 (patch) | |
tree | c2ab7da175883ffa10d3eaacb820a8400d5f4e70 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 83e8864fee26f63a7435e941b7c36a20fd6fe93e (diff) |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions