From: Tomas Winkler Date: Thu, 29 May 2008 08:34:52 +0000 (+0800) Subject: iwlwifi: remove unused variable form __iwl4965_down X-Git-Tag: v2.6.27-rc1~969^2~337^2~45 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c317fee3c1a01a0dbf505ed46236e93c55e279fa;p=linux-2.6-omap-h63xx.git iwlwifi: remove unused variable form __iwl4965_down This patch removes unused variable from __iwl4965_down. Signed-off-by: Tomas Winkler Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index e9dfb725763..d7f9321923a 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c @@ -3341,12 +3341,9 @@ static void __iwl4965_down(struct iwl_priv *priv) { unsigned long flags; int exit_pending = test_bit(STATUS_EXIT_PENDING, &priv->status); - struct ieee80211_conf *conf = NULL; IWL_DEBUG_INFO(DRV_NAME " is going down\n"); - conf = ieee80211_get_hw_conf(priv->hw); - if (!exit_pending) set_bit(STATUS_EXIT_PENDING, &priv->status);