[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210821174934.257BBC43617@smtp.codeaurora.org>
Date: Sat, 21 Aug 2021 17:49:34 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Tuo Li <islituo@...il.com>
Cc: amitkarwar@...il.com, ganapathi017@...il.com,
sharvari.harisangam@....com, huxinming820@...il.com,
davem@...emloft.net, kuba@...nel.org,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, baijiaju1990@...il.com,
Tuo Li <islituo@...il.com>, TOTE Robot <oslab@...nghua.edu.cn>
Subject: Re: [PATCH] mwifiex: drop redundant null-pointer check in
mwifiex_dnld_cmd_to_fw()
Tuo Li <islituo@...il.com> 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 <oslab@...nghua.edu.cn>
> Signed-off-by: Tuo Li <islituo@...il.com>
> Tested-by: Brian Norris <briannorris@...omium.org>
> Reviewed-by: Brian Norris <briannorris@...omium.org>
Patch applied to wireless-drivers-next.git, thanks.
118934041c5f mwifiex: drop redundant null-pointer check in mwifiex_dnld_cmd_to_fw()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20210804020305.29812-1-islituo@gmail.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists