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

From: Kalle Valo
Date: Mon Feb 08 2021 - 05:52:40 EST


Colin King <colin.king@xxxxxxxxxxxxx> wrote:

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable rtstatu is being initialized with a value that is never
> read and it is being updated later with a new value. The initialization
> is redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> Acked-by: Willem de Bruijn <willemb@xxxxxxxxxx>

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

711fa16f1dfe rtlwifi: rtl8192se: remove redundant initialization of variable rtstatus

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

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