diff options
author | 2023-02-07 15:08:37 +0800 | |
---|---|---|
committer | 2023-02-07 07:21:31 -0700 | |
commit | 731e208d7b4b38d2bac4b7c53403c8abbf306d01 (patch) | |
tree | c2ab7da175883ffa10d3eaacb820a8400d5f4e70 /scripts/lib/kdoc/kdoc_files.py | |
parent | trace/blktrace: fix memory leak with using debugfs_lookup() (diff) | |
download | wireguard-linux-731e208d7b4b38d2bac4b7c53403c8abbf306d01.tar.xz wireguard-linux-731e208d7b4b38d2bac4b7c53403c8abbf306d01.zip |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions