Re: [PATCH] rtlwifi: remove redundant initialization of variable ul_encalgo
From: Kalle Valo <kvalo@kernel.org>
Date: 2022-02-01 12:27:04
Also in:
kernel-janitors, linux-wireless, lkml
From: Kalle Valo <kvalo@kernel.org>
Date: 2022-02-01 12:27:04
Also in:
kernel-janitors, linux-wireless, lkml
Colin Ian King [off-list ref] wrote:
Variable ul_encalgo is initialized with a value that is never read, it is being re-assigned a new value in every case in the following switch statement. The initialization is redundant and can be removed. Signed-off-by: Colin Ian King <redacted> Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Patch applied to wireless-next.git, thanks. e80affde1720 rtlwifi: remove redundant initialization of variable ul_encalgo -- https://patchwork.kernel.org/project/linux-wireless/patch/20220130223714.6999-1-colin.i.king@gmail.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches