From patchwork Mon Jun 21 22:02:13 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: 107264 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5LM3Ktl030168 for ; Mon, 21 Jun 2010 22:03:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932889Ab0FUWC1 (ORCPT ); Mon, 21 Jun 2010 18:02:27 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:61837 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932606Ab0FUWC0 (ORCPT ); Mon, 21 Jun 2010 18:02:26 -0400 Received: by mail-pw0-f46.google.com with SMTP id 8so528092pwj.19 for ; Mon, 21 Jun 2010 15:02:25 -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; bh=3wCYkIHRlMJC9R9LO1706QD2e2bCJ8ng5N9io5+eBh4=; b=hpcNKLO9DXfsxObQn+amsaLalEwqxpwpkfXq1Iz+0o3Bpt+PHLQn2i+Y2ZpW/M/H/e 37QX8JDgGJA/Iw8LV92SuaBlctW/qW5CHL4RIJQay8XXPSHVqPDp7VGCHUJxFKVEIP4q b39Kk1oxtgsi1tbTBvXNzh/UpJjli4SMfGVsI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=mHSs+SXzlJx3UqctHua7XqD3J+9Chj1vu/UKrPVeXsGBeO9/m1eOqjlg//NvIuvcx+ 5G1b+MYVmhP2caIR+JwlIbDvrB44zNjCAC8Iu+w5sy/RcYW++3yD5g9lVHg7Eq+hYg8b KDu1b4mQUBnya/FQhHQqap2lbfemH5Jw6nVWA= Received: by 10.114.33.7 with SMTP id g7mr4587277wag.49.1277157745637; Mon, 21 Jun 2010 15:02:25 -0700 (PDT) Received: from localhost.localdomain ([76.91.45.220]) by mx.google.com with ESMTPS id f11sm20381650wai.11.2010.06.21.15.02.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Jun 2010 15:02:24 -0700 (PDT) From: "Justin P. Mattock" To: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Justin P. Mattock" Subject: [PATCH 1/5 v2]wireless:hostap_main.c warning: variable 'iface' set but not used Date: Mon, 21 Jun 2010 15:02:13 -0700 Message-Id: <1277157733-14071-1-git-send-email-justinmattock@gmail.com> X-Mailer: git-send-email 1.7.1.rc1.21.gf3bd6 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]); Mon, 21 Jun 2010 22:03:20 +0000 (UTC) diff --git a/drivers/net/wireless/hostap/hostap_main.c b/drivers/net/wireless/hostap/hostap_main.c index eb57d1e..a866e7a 100644 --- a/drivers/net/wireless/hostap/hostap_main.c +++ b/drivers/net/wireless/hostap/hostap_main.c @@ -741,9 +741,8 @@ 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); + netdev_priv(dev); if (hostap_set_word(dev, HFA384X_RID_PROMISCUOUSMODE, local->is_promisc)) { printk(KERN_INFO "%s: %sabling promiscuous mode failed\n",