rtlwifi: rtl8723ae: Remove unused 'rtstatus' variable
authorAustin Kim <austindh.kim@gmail.com>
Tue, 17 Sep 2019 06:50:44 +0000 (15:50 +0900)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 1 Oct 2019 09:19:51 +0000 (12:19 +0300)
'rtstatus' local variable is not used,
so remove it for clean-up.

Signed-off-by: Austin Kim <austindh.kim@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c

index 54a3aec..22441dd 100644 (file)
@@ -485,15 +485,12 @@ bool rtl8723e_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
                                            enum radio_path rfpath)
 {
        int i;
-       bool rtstatus = true;
        u32 *radioa_array_table;
        u16 radioa_arraylen;
 
        radioa_arraylen = RTL8723ERADIOA_1TARRAYLENGTH;
        radioa_array_table = RTL8723E_RADIOA_1TARRAY;
 
-       rtstatus = true;
-
        switch (rfpath) {
        case RF90_PATH_A:
                for (i = 0; i < radioa_arraylen; i = i + 2) {