Re: [PATCH] rtlwifi: rtl8192ee: remove redundant for-loop
From: Kalle Valo
Date: Mon May 18 2020 - 08:19:54 EST
Colin King <colin.king@xxxxxxxxxxxxx> wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The for-loop seems to be redundant, the assignments for indexes
> 0..2 are being over-written by the last index 3 in the loop. Remove
> the loop and use index 3 instead.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
b0a4bb7693be rtlwifi: rtl8192ee: remove redundant for-loop
--
https://patchwork.kernel.org/patch/11551059/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches