From patchwork Sat May 8 16:21:01 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 97917 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o48GLJ2k010402 for ; Sat, 8 May 2010 16:21:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753682Ab0EHQVS (ORCPT ); Sat, 8 May 2010 12:21:18 -0400 Received: from mail-qy0-f183.google.com ([209.85.221.183]:37278 "EHLO mail-qy0-f183.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753560Ab0EHQVS (ORCPT ); Sat, 8 May 2010 12:21:18 -0400 Received: by qyk13 with SMTP id 13so3444207qyk.1 for ; Sat, 08 May 2010 09:21:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=sNvdhUdej30+rgh/V14pWK66l6iyQRATWE5Wzy8z2Wo=; b=axcwbMavKXGNJfe2VX6T4xqeVqCRpnAFrCQVi1kp+KeSxX98ZR06SDfjPO1qrzpK6T KokZBXritN5QBekc2h8fV21i1PMCANvpZ7iQSeVfgAh9NDKjs1d0ItoqErlS4ARHIR2k gVPJjIE2PgrFaevE3psB3qDAjEJn6tMQbzVeQ= 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=WbW8IB+NpFAlZY3ctUkkzwQAPZZ9XpdWArYTNa9QPppv0SsUBm3GW6n3MZLS9iqWev BBu2sNKH1b5fX96EIlKAxwVaNzXX3/W8KQzEAVC3+ISfXctSHpGCXA8St3ZUHxha1XF7 ITLYZJ0RUAOknsQftpwuh1buY451K4XC5rJBI= Received: by 10.229.226.135 with SMTP id iw7mr1275092qcb.63.1273335675123; Sat, 08 May 2010 09:21:15 -0700 (PDT) Received: from bicker ([205.177.176.130]) by mx.google.com with ESMTPS id a11sm2069465qco.10.2010.05.08.09.21.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 08 May 2010 09:21:14 -0700 (PDT) Date: Sat, 8 May 2010 18:21:01 +0200 From: Dan Carpenter To: Zhu Yi Cc: Reinette Chatre , Intel Linux Wireless , "John W. Linville" , Wey-Yi Guy , Johannes Berg , Abhijeet Kolekar , linux-wireless@vger.kernel.org Subject: [patch 1/9] iwlwifi: remove stray mutex_unlock() Message-ID: <20100508162101.GM27064@bicker> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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.3 (demeter.kernel.org [140.211.167.41]); Sat, 08 May 2010 16:21:20 +0000 (UTC) diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 9dad867..3faa78c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c @@ -2482,7 +2482,6 @@ int iwl3945_hw_set_hw_params(struct iwl_priv *priv) &priv->_3945.shared_phys, GFP_KERNEL); if (!priv->_3945.shared_virt) { IWL_ERR(priv, "failed to allocate pci memory\n"); - mutex_unlock(&priv->mutex); return -ENOMEM; }