From patchwork Tue Mar 15 07:03:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 635191 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2F73vkI005195 for ; Tue, 15 Mar 2011 07:03:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754134Ab1COHDz (ORCPT ); Tue, 15 Mar 2011 03:03:55 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:34708 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753471Ab1COHDy (ORCPT ); Tue, 15 Mar 2011 03:03:54 -0400 Received: by fxm17 with SMTP id 17so266249fxm.19 for ; Tue, 15 Mar 2011 00:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=XjHIsXIgyAgP2+BV5QsZVEyh+lV9D/2TR7uSYLfF8vg=; b=bQIt/WHOABoRthPoSJpZDRigcWi+3pVaEcb9g+kK2WFCxoTqNEM1qNaDccRWO9llhL la1QpSdj7iwbHkBLHVqQmByjh5QNh+aZ/fU5KB0/aljH4rJVaLJT09w7VMg/w2+QIj9G pu12wawKAVRwjpzqzTY7CpT5lL5I/cFcXL03c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=lS5YquQG1QWHBXRsvOmh41avXXyzWlvA97MdAaRBove3nqNTSl1Y6jCfFK7bpTy9dO nos6jIoVoIt/PyYLNihf1oYEIBCL3IQrg7trch6kXL0lqbTO04riENZCdeawN+zK2DyB 9onC5BhPtAzW6Dba4rMRZPlWHUKUQimVGSVRE= Received: by 10.223.54.213 with SMTP id r21mr2619237fag.54.1300172632978; Tue, 15 Mar 2011 00:03:52 -0700 (PDT) Received: from bicker ([212.49.88.34]) by mx.google.com with ESMTPS id o12sm3432231fav.6.2011.03.15.00.03.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Mar 2011 00:03:52 -0700 (PDT) Date: Tue, 15 Mar 2011 10:03:24 +0300 From: Dan Carpenter To: Wey-Yi Guy Cc: Intel Linux Wireless , "John W. Linville" , linux-wireless@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [patch 2/2] iwlwifi: remove duplicate initialization in __iwl_down() Message-ID: <20110315070324.GR2008@bicker> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 15 Mar 2011 07:03:57 +0000 (UTC) diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 321b18b..7adc60e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c @@ -2537,7 +2537,7 @@ static void iwl_cancel_deferred_work(struct iwl_priv *priv); static void __iwl_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");