From: Stanislaw Gruszka Date: Thu, 28 Apr 2011 09:51:24 +0000 (+0200) Subject: iwlegacy: remove duplicate initialization in iwl4956_down() X-Git-Tag: MMI-PSA29.97-13-9~19291^2~16^2~223 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ab42b4041707f075533845ecb320c7a1c5621f1b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git iwlegacy: remove duplicate initialization in iwl4956_down() Signed-off-by: Stanislaw Gruszka Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlegacy/iwl4965-base.c b/drivers/net/wireless/iwlegacy/iwl4965-base.c index f8870543d68f..038738355ab7 100644 --- a/drivers/net/wireless/iwlegacy/iwl4965-base.c +++ b/drivers/net/wireless/iwlegacy/iwl4965-base.c @@ -2139,7 +2139,7 @@ static void iwl4965_cancel_deferred_work(struct iwl_priv *priv); static void __iwl4965_down(struct iwl_priv *priv) { unsigned long flags; - int exit_pending = test_bit(STATUS_EXIT_PENDING, &priv->status); + int exit_pending; IWL_DEBUG_INFO(priv, DRV_NAME " is going down\n");