diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-01-31 01:37:14 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-02-01 15:26:34 +0300 |
commit | e80affde17200034587a7f3f708b1c5376fca71e (patch) | |
tree | 45c6b3b360652c99198b962554115ed7c070e006 /drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | |
parent | 6d3ac94bae21de6b6a1d81596752428960012816 (diff) | |
download | linux-e80affde17200034587a7f3f708b1c5376fca71e.tar.xz |
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
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c')
0 files changed, 0 insertions, 0 deletions