iwlegacy: remove duplicate initialization in iwl4956_down()
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 28 Apr 2011 09:51:24 +0000 (11:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Apr 2011 19:36:13 +0000 (15:36 -0400)
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/iwl4965-base.c

index f8870543d68f8555025c1a26d094dfa91d4c3a8d..038738355ab7b9cbc8fcf0243f6a62d252abaade 100644 (file)
@@ -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");