Re: wifi: mwifiex: mwifiex_process_sleep_confirm_resp(): remove unused priv variable

From: Kalle Valo
Date: Wed Nov 22 2023 - 10:50:57 EST


Su Hui <suhui@xxxxxxxxxxxx> wrote:

> Clang static analyzer complains that value stored to 'priv' is never read.
> 'priv' is useless, so remove it to save space.
>
> Signed-off-by: Su Hui <suhui@xxxxxxxxxxxx>
> Acked-by: Brian Norris <briannorris@xxxxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

a85198c9f068 wifi: mwifiex: mwifiex_process_sleep_confirm_resp(): remove unused priv variable

--
https://patchwork.kernel.org/project/linux-wireless/patch/20231115092328.1048103-1-suhui@xxxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches