From patchwork Wed Jun 16 05:33:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Justin P. Mattock" X-Patchwork-Id: 106370 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 o5G5ZMLM010173 for ; Wed, 16 Jun 2010 05:35:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754615Ab0FPFdx (ORCPT ); Wed, 16 Jun 2010 01:33:53 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:52352 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753762Ab0FPFdt (ORCPT ); Wed, 16 Jun 2010 01:33:49 -0400 Received: by pva4 with SMTP id 4so499909pva.19 for ; Tue, 15 Jun 2010 22:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=qAfX6+HUp0bAz8dGPtit+Qnm8hePb4AFVSDPXnNwsx0=; b=exbswSReYLLY8VtcD2WJtgyX51h42Yf/4mU6hz6eO58ZqgdeQ++QRQSEDCtllu33Mf 6lvjZ4MNFUxZfcxLMZMJeb5UiRDbyCqqds9qv3jV6aI3i+b7mfxSzoE0G3V/wO+J/RKc 0bvqdwfXiqFUQVjh41/dqmlFu7AWytzRKMemw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=D7PXLQaHAER8sJD0T/HTLbP9dOX9pB7E7OQqfHOlhm2hJN+xNzQz1Y4iMS1BRqf6ot MGDtsP8ajFNDfv4LhEPXM2fJA9bVayzacxmlx7Txdi9E5ryNtf6e56rPWKxlWOX9HRTN t1UzQr5xm0P5E9PgKthsS/1BHxnWVjOSt71bI= Received: by 10.114.19.24 with SMTP id 24mr6622331was.190.1276666428720; Tue, 15 Jun 2010 22:33:48 -0700 (PDT) Received: from localhost.localdomain ([76.91.45.220]) by mx.google.com with ESMTPS id n29sm77394991wae.4.2010.06.15.22.33.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 15 Jun 2010 22:33:47 -0700 (PDT) From: "Justin P. Mattock" To: linux-kernel@vger.kernel.org Cc: linux-wireless@vger.kernel.org, linux-pci@vger.kernel.org, linux-scsi@vger.kernel.org, "Justin P. Mattock" Subject: [PATCH 1/5]wireless:hostap_main.c warning: variable 'iface' set but not used Date: Tue, 15 Jun 2010 22:33:50 -0700 Message-Id: <1276666434-11227-2-git-send-email-justinmattock@gmail.com> X-Mailer: git-send-email 1.7.1.rc1.21.gf3bd6 In-Reply-To: <1276666434-11227-1-git-send-email-justinmattock@gmail.com> References: <1276666434-11227-1-git-send-email-justinmattock@gmail.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@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]); Wed, 16 Jun 2010 05:35:22 +0000 (UTC) diff --git a/drivers/net/wireless/hostap/hostap_main.c b/drivers/net/wireless/hostap/hostap_main.c index eb57d1e..eaee84b 100644 --- a/drivers/net/wireless/hostap/hostap_main.c +++ b/drivers/net/wireless/hostap/hostap_main.c @@ -741,9 +741,7 @@ void hostap_set_multicast_list_queue(struct work_struct *work) local_info_t *local = container_of(work, local_info_t, set_multicast_list_queue); struct net_device *dev = local->dev; - struct hostap_interface *iface; - iface = netdev_priv(dev); if (hostap_set_word(dev, HFA384X_RID_PROMISCUOUSMODE, local->is_promisc)) { printk(KERN_INFO "%s: %sabling promiscuous mode failed\n",