OSDN Git Service

rtlwifi: rtl8821ae: phy: Remove a couple of unused variables
authorLee Jones <lee.jones@linaro.org>
Mon, 2 Nov 2020 11:24:02 +0000 (11:24 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 7 Nov 2020 16:14:46 +0000 (18:14 +0200)
commit29c6099a38903ee5db7581af0ef4a507eaab3aa9
treed45eaf5bbdc1840768c0904f3eb43622d813fff6
parent44ec6d9df96ddd5b5b18a58c8bb9b45fe843bfb7
rtlwifi: rtl8821ae: phy: Remove a couple of unused variables

Fixes the following W=1 kernel build warning(s):

 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c: In function ‘rtl8821ae_phy_switch_wirelessband’:
 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:597:14: warning: variable ‘rxpath’ set but not used [-Wunused-but-set-variable]
 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:597:6: warning: variable ‘txpath’ set but not used [-Wunused-but-set-variable]

Cc: Ping-Ke Shih <pkshih@realtek.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201102112410.1049272-34-lee.jones@linaro.org
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c