From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Date: Tue, 25 Jun 2019 04:59:54 +0000 Subject: Re: [PATCH] rtlwifi: remove redundant assignment to variable badworden Message-Id: <20190625045954.29EE4607CA@smtp.codeaurora.org> List-Id: References: <20190530184044.8479-1-colin.king@canonical.com> In-Reply-To: <20190530184044.8479-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Colin King Cc: Ping-Ke Shih , "David S . Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Colin King wrote: > From: Colin Ian King > > The variable badworden is assigned with a value that is never read and > it is re-assigned a new value immediately afterwards. The assignment is > redundant and can be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King > Acked-by: Larry Finger Patch applied to wireless-drivers-next.git, thanks. 5315f9d40191 rtlwifi: remove redundant assignment to variable badworden -- https://patchwork.kernel.org/patch/10969175/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches