[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171108124517.3D1E2607A4@smtp.codeaurora.org>
Date: Wed, 8 Nov 2017 12:45:17 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin Ian King <colin.king@...onical.com>
Cc: Larry Finger <Larry.Finger@...inger.net>,
Chaoming Li <chaoming_li@...lsil.com.cn>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: rtlwifi: remove redundant initialization to cfg_cmd
Colin Ian King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> cfg_cmd is initialized to zero and this value is never read, instead
> it is over-written in the start of a do-while loop. Remove the
> redundant initialization. Cleans up clang warning:
>
> drivers/net/wireless/realtek/rtlwifi/core.c:1750:22: warning: Value
> stored to 'cfg_cmd' during its initialization is never read
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> Acked-by: Larry Finger <Larry.Finger@...inger.net>
Patch applied to wireless-drivers-next.git, thanks.
f80ead1cd5fa rtlwifi: remove redundant initialization to cfg_cmd
--
https://patchwork.kernel.org/patch/10041685/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists