Re: [PATCH v2] blk-zoned: Remove needless request_queue NULL pointer checks
From: Chaitanya Kulkarni
Date: Fri Sep 10 2021 - 05:33:42 EST
On 9/9/21 11:44 PM, Xu Wang wrote:
> External email: Use caution opening links or attachments
>
>
> The request_queue pointer returned from bdev_get_queue() shall
> never be NULL, so the NULL checks are unnecessary, just remove them.
>
> Signed-off-by: Xu Wang <vulab@xxxxxxxxxxx>
> Changes since v2:
> - Make the q variable assignment together with declaration.
> ---
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>