rtlwifi: rtl8192cu: remove unused arguments from _beacon_function_enable()
authorTaehee Yoo <ap420073@gmail.com>
Mon, 9 Mar 2015 15:07:08 +0000 (00:07 +0900)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Mar 2015 14:20:59 +0000 (16:20 +0200)
Remove unnecessary parameter in rtl8192cu/hw.c

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rtlwifi/rtl8192cu/hw.c

index 0c20dd74d6ecd862043321f4e5e1b9d0e7ff3693..43b2b20e3fcf2480f1a8a81bef2914d6fc4e2d78 100644 (file)
@@ -1471,8 +1471,7 @@ static void _InitBeaconParameters(struct ieee80211_hw *hw)
                rtl_write_word(rtlpriv, REG_BCNTCFG, 0x66FF);
 }
 
-static void _beacon_function_enable(struct ieee80211_hw *hw, bool Enable,
-                                   bool Linked)
+static void _beacon_function_enable(struct ieee80211_hw *hw)
 {
        struct rtl_priv *rtlpriv = rtl_priv(hw);
 
@@ -1517,7 +1516,7 @@ void rtl92cu_set_beacon_related_registers(struct ieee80211_hw *hw)
                rtl_write_byte(rtlpriv, REG_RXTSF_OFFSET_CCK, 0x50);
                rtl_write_byte(rtlpriv, REG_RXTSF_OFFSET_OFDM, 0x50);
        }
-       _beacon_function_enable(hw, true, true);
+       _beacon_function_enable(hw);
 }
 
 void rtl92cu_set_beacon_interval(struct ieee80211_hw *hw)