From patchwork Sat May 8 16:26:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 97925 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 o48GQsQA011350 for ; Sat, 8 May 2010 16:26:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753971Ab0EHQ0x (ORCPT ); Sat, 8 May 2010 12:26:53 -0400 Received: from mail-qy0-f183.google.com ([209.85.221.183]:48836 "EHLO mail-qy0-f183.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753922Ab0EHQ0w (ORCPT ); Sat, 8 May 2010 12:26:52 -0400 Received: by qyk13 with SMTP id 13so3450580qyk.1 for ; Sat, 08 May 2010 09:26:52 -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=I9t0qcc8mbiGMQXouUMteZsX9ruTOGBjyYLG4pWR4O4=; b=HLwb+a4+/r4oTzW+sZ669dUhzLR7DMgbViHjmIFmj3Vl10/kXob+m5R044hHRF+u3q mUjTQSDs9UV6jILaFKv6O/Kv5nqxt0+jEGYdGKCp2QwW2lguZGnLmvXO8lF+sJd1YxJQ on3ZUSnjMPVapzSwyICEQJ6sQO+zcXt4fXjpU= 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=rIZX9DyxHIicrXdPrxwSAg/MDVu2++HDva1N0RnTJmabAhYc1lRj+N2VlOE8vGPd80 kThybC8qEBxeXtyLdj7NefiQkGvvOO4N239K/QCyDPytOEHtPGvG5iCOFD7ff2I0GEjn ixqNTXVJizOci9hfpJuHkgo1/swirg6Yb2NO0= Received: by 10.224.71.70 with SMTP id g6mr989249qaj.339.1273336012138; Sat, 08 May 2010 09:26:52 -0700 (PDT) Received: from bicker ([205.177.176.130]) by mx.google.com with ESMTPS id bv23sm2072991qcb.19.2010.05.08.09.26.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 08 May 2010 09:26:51 -0700 (PDT) Date: Sat, 8 May 2010 18:26:38 +0200 From: Dan Carpenter To: Luciano Coelho Cc: "John W. Linville" , Juuso Oikarinen , Teemu Paasikivi , Kalle Valo , linux-wireless@vger.kernel.org Subject: [patch 9/9] wl1271: remove some unneeded code Message-ID: <20100508162638.GU27064@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:26:54 +0000 (UTC) diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c index 55aa813..da40cee 100644 --- a/drivers/net/wireless/wl12xx/wl1271_main.c +++ b/drivers/net/wireless/wl12xx/wl1271_main.c @@ -1563,8 +1563,6 @@ static int wl1271_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, default: wl1271_error("Unsupported key cmd 0x%x", cmd); ret = -EOPNOTSUPP; - goto out_sleep; - break; }