summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2011-05-11 08:33:55 -0700
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-05-13 12:03:17 -0700
commit6dc0c7fc7cc0f5ec3d92a3076dfe45028540e526 (patch)
treeb2e9be8b32870e74c8c5240108efd967a919a3a3
parent51b7ef058c44c15af20ab4f7aed1dbb959cbd06d (diff)
downloadblackbird-obmc-linux-6dc0c7fc7cc0f5ec3d92a3076dfe45028540e526.tar.gz
blackbird-obmc-linux-6dc0c7fc7cc0f5ec3d92a3076dfe45028540e526.zip
iwlagn: remove unused old_assoc parameter
old_assoc not used, remove it Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-rxon.c1
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)
/* cast away the const for active_rxon in this function */
struct iwl_rxon_cmd *active = (void *)&ctx->active;
bool new_assoc = !!(ctx->staging.filter_flags & RXON_FILTER_ASSOC_MSK);
- bool old_assoc = !!(ctx->active.filter_flags & RXON_FILTER_ASSOC_MSK);
int ret;
lockdep_assert_held(&priv->mutex);
OpenPOWER on IntegriCloud