Re: [PATCH RESEND 1/3] ublk: remove unnecessary NULL check in ublk_rq_has_data()

From: Ming Lei
Date: Tue Feb 07 2023 - 09:07:59 EST


On Tue, Feb 07, 2023 at 03:08:37PM +0800, Ziyang Zhang wrote:
> bio_has_data() allows a NULL bio so the NULL check in
> ublk_rq_has_data() is unnecessary.
>
> Signed-off-by: Ziyang Zhang <ZiyangZhang@xxxxxxxxxxxxxxxxx>

Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>


Thanks,
Ming