[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <163410603706.12983.13781941035424986472.kvalo@codeaurora.org>
Date: Wed, 13 Oct 2021 06:20:41 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin King <colin.king@...onical.com>
Cc: Ping-Ke Shih <pkshih@...ltek.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtlwifi: rtl8192ee: Remove redundant initialization of
variable version
Colin King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The variable version is being initialized with a value that is
> never read, it is being updated afterwards in both branches of
> an if statement. The assignment is redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> Acked-by: Ping-Ke Shih <pkshih@...ltek.com>
Patch applied to wireless-drivers-next.git, thanks.
51fd5c6417b9 rtlwifi: rtl8192ee: Remove redundant initialization of variable version
--
https://patchwork.kernel.org/project/linux-wireless/patch/20211007163722.20165-1-colin.king@canonical.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists