From: Wey-Yi Guy Date: Wed, 11 May 2011 15:33:55 +0000 (-0700) Subject: iwlagn: remove unused old_assoc parameter X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6dc0c7fc7cc0f5ec3d92a3076dfe45028540e526;p=openwrt%2Fstaging%2Fblogic.git iwlagn: remove unused old_assoc parameter old_assoc not used, remove it Signed-off-by: Wey-Yi Guy --- 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);