aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorZiyang Zhang <[email protected]>2023-02-07 15:08:37 +0800
committerJens Axboe <[email protected]>2023-02-07 07:21:31 -0700
commit731e208d7b4b38d2bac4b7c53403c8abbf306d01 (patch)
treec2ab7da175883ffa10d3eaacb820a8400d5f4e70 /lib/test_fortify/write_overflow-strlcpy-src.c
parent83e8864fee26f63a7435e941b7c36a20fd6fe93e (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 <[email protected]> Reviewed-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions