Thread (3 messages) flat view 3 messages, 3 authors, 2021-08-21

Re: [PATCH] mwifiex: drop redundant null-pointer check in mwifiex_dnld_cmd_to_fw()

From: Brian Norris <briannorris@chromium.org>
Date: 2021-08-04 22:46:10
Also in: linux-wireless, lkml

On Tue, Aug 3, 2021 at 7:03 PM Tuo Li [off-list ref] wrote:
There is no case in which the variable cmd_node->cmd_skb has no ->data,
and thus the variable host_cmd is guaranteed to be not NULL. Therefore,
the null-pointer check is redundant and can be dropped.

Reported-by: TOTE Robot <redacted>
Signed-off-by: Tuo Li <redacted>
Tested-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help