Commit 03dadf96 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville

iwlwifi: remove unused argument from iwl_init_hw_rates

The function never uses the priv argument as it
only fills in the passed data, so remove the
argument.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 955570fc
...@@ -1010,8 +1010,7 @@ void iwl_cancel_deferred_work(struct iwl_priv *priv) ...@@ -1010,8 +1010,7 @@ void iwl_cancel_deferred_work(struct iwl_priv *priv)
del_timer_sync(&priv->ucode_trace); del_timer_sync(&priv->ucode_trace);
} }
static void iwl_init_hw_rates(struct iwl_priv *priv, static void iwl_init_hw_rates(struct ieee80211_rate *rates)
struct ieee80211_rate *rates)
{ {
int i; int i;
...@@ -1090,7 +1089,7 @@ static int iwl_init_drv(struct iwl_priv *priv) ...@@ -1090,7 +1089,7 @@ static int iwl_init_drv(struct iwl_priv *priv)
IWL_ERR(priv, "initializing geos failed: %d\n", ret); IWL_ERR(priv, "initializing geos failed: %d\n", ret);
goto err_free_channel_map; goto err_free_channel_map;
} }
iwl_init_hw_rates(priv, priv->ieee_rates); iwl_init_hw_rates(priv->ieee_rates);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment