Thread (4 messages) 4 messages, 3 authors, 2019-10-01

Re: [PATCH] rtlwifi: rtl8723ae: Remove unused 'rtstatus' variable

From: Austin Kim <hidden>
Date: 2019-09-23 13:34:52
Also in: linux-wireless, lkml

Hello, Maintainers...
Would you please review above patch if you are available?

Thanks,
Austin Kim

2019년 9월 17일 (화) 오후 3:50, Austin Kim [off-list ref]님이 작성:
quoted hunk ↗ jump to hunk
'rtstatus' local variable is not used,
so remove it for clean-up.

Signed-off-by: Austin Kim <redacted>
---
 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c | 3 ---
 1 file changed, 3 deletions(-)
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c
index 54a3aec..22441dd 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c
@@ -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) {
--
2.6.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help