Thread (5 messages) 5 messages, 3 authors, 2021-09-10

Re: [PATCH v2] blk-zoned: Remove needless request_queue NULL pointer checks

flat view

From: Chaitanya Kulkarni <hidden>
Date: 2021-09-10 09:33:42
Also in: lkml

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 <redacted>
Changes since v2:
- Make the q variable assignment together with declaration.
---
Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help