Home
last modified time | relevance | path

Searched hist:e80affde (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcam.ce80affde Sun Jan 30 16:37:14 CST 2022 Colin Ian King <colin.i.king@gmail.com> rtlwifi: remove redundant initialization of variable ul_encalgo

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 <colin.i.king@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220130223714.6999-1-colin.i.king@gmail.com