diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-05-11 11:33:55 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-05-13 15:03:17 -0400 |
commit | 6dc0c7fc7cc0f5ec3d92a3076dfe45028540e526 (patch) | |
tree | b2e9be8b32870e74c8c5240108efd967a919a3a3 /drivers/net/wireless/iwlwifi/iwl-agn-rxon.c | |
parent | 51b7ef058c44c15af20ab4f7aed1dbb959cbd06d (diff) |
iwlagn: remove unused old_assoc parameter
old_assoc not used, remove it
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-rxon.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rxon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c index 7d40e2d42873..a95ad84c5377 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c | |||
@@ -289,7 +289,6 @@ int iwlagn_commit_rxon(struct iwl_priv *priv, struct iwl_rxon_context *ctx) | |||
289 | /* cast away the const for active_rxon in this function */ | 289 | /* cast away the const for active_rxon in this function */ |
290 | struct iwl_rxon_cmd *active = (void *)&ctx->active; | 290 | struct iwl_rxon_cmd *active = (void *)&ctx->active; |
291 | bool new_assoc = !!(ctx->staging.filter_flags & RXON_FILTER_ASSOC_MSK); | 291 | bool new_assoc = !!(ctx->staging.filter_flags & RXON_FILTER_ASSOC_MSK); |
292 | bool old_assoc = !!(ctx->active.filter_flags & RXON_FILTER_ASSOC_MSK); | ||
293 | int ret; | 292 | int ret; |
294 | 293 | ||
295 | lockdep_assert_held(&priv->mutex); | 294 | lockdep_assert_held(&priv->mutex); |