Re: [PATCH] rtlwifi: rtl8723ae: remove redundant initialization of variable rtstatus

From: Kalle Valo
Date: Tue Jun 15 2021 - 09:40:26 EST


Colin King <colin.king@xxxxxxxxxxxxx> wrote:

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable rtstatus is being initialized with a value that is never
> read, it is being updated later on. The assignment is redundant and
> can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

03a1b938cf39 rtlwifi: rtl8723ae: remove redundant initialization of variable rtstatus

--
https://patchwork.kernel.org/project/linux-wireless/patch/20210513122410.59204-1-colin.king@xxxxxxxxxxxxx/

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