]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
iwlwifi: remove unused argument from rs_initialize_lq
authorJohannes Berg <johannes.berg@intel.com>
Wed, 7 Mar 2012 17:52:11 +0000 (09:52 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Mar 2012 18:59:45 +0000 (13:59 -0500)
The function never uses its conf argument,
so remove it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c

index 9895b807246bb1343483ee5b3d0816004c4f8709..53f8c51cfcdb021d292caf5f911694413df42d4c 100644 (file)
@@ -2677,7 +2677,6 @@ out:
  *       which requires station table entry to exist).
  */
 static void rs_initialize_lq(struct iwl_priv *priv,
-                            struct ieee80211_conf *conf,
                             struct ieee80211_sta *sta,
                             struct iwl_lq_sta *lq_sta)
 {
@@ -2912,7 +2911,7 @@ void iwl_rs_rate_init(struct iwl_priv *priv, struct ieee80211_sta *sta, u8 sta_i
        lq_sta->dbg_fixed_rate = 0;
 #endif
 
-       rs_initialize_lq(priv, conf, sta, lq_sta);
+       rs_initialize_lq(priv, sta, lq_sta);
 }
 
 static void rs_fill_link_cmd(struct iwl_priv *priv,