rtlwifi: rtl8192cu: Remove rtl92c_init_beacon_max_error's parameter
authorTaehee Yoo <ap420073@gmail.com>
Sat, 9 May 2015 09:16:51 +0000 (18:16 +0900)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 May 2015 10:43:18 +0000 (13:43 +0300)
parameter "infra_mode" of rtl92c_init_beacon_max_error() is not used.
so i remove this.

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

index 3c1639ba7f99a8f355b932118f513897f14a90cc..189859617db803e4440cff48568a3165790f4a45 100644 (file)
@@ -889,7 +889,7 @@ static int _rtl92cu_init_mac(struct ieee80211_hw *hw)
        rtl92c_set_min_space(hw, IS_92C_SERIAL(rtlhal->version));
        rtl92c_init_beacon_parameters(hw, rtlhal->version);
        rtl92c_init_ampdu_aggregation(hw);
-       rtl92c_init_beacon_max_error(hw, true);
+       rtl92c_init_beacon_max_error(hw);
        return err;
 }
 
index adb810794eef71e27080cd9590a07911eba5123b..f3db6bc8596a3143436eb7db2710d825d7dee8d6 100644 (file)
@@ -613,7 +613,7 @@ void rtl92c_init_ampdu_aggregation(struct ieee80211_hw *hw)
        rtl_write_word(rtlpriv, 0x4CA, 0x0708);
 }
 
-void rtl92c_init_beacon_max_error(struct ieee80211_hw *hw, bool infra_mode)
+void rtl92c_init_beacon_max_error(struct ieee80211_hw *hw)
 {
        struct rtl_priv *rtlpriv = rtl_priv(hw);
 
index bf53652e4eddb3428c5e80850c0a3aa59e4346f3..58548e8f2c41b64276ec1c696b6bf03fd79fc4b9 100644 (file)
@@ -66,7 +66,7 @@ void rtl92c_init_edca_param(struct ieee80211_hw *hw,
 
 void rtl92c_init_edca(struct ieee80211_hw *hw);
 void rtl92c_init_ampdu_aggregation(struct ieee80211_hw *hw);
-void rtl92c_init_beacon_max_error(struct ieee80211_hw *hw, bool infra_mode);
+void rtl92c_init_beacon_max_error(struct ieee80211_hw *hw);
 void rtl92c_init_rdg_setting(struct ieee80211_hw *hw);
 void rtl92c_init_retry_function(struct ieee80211_hw *hw);