All of lore.kernel.org
 help / color / mirror / Atom feed
From: Auke Kok <auke-jan.h.kok@intel.com>
To: jeff@garzik.org
Cc: netdev@vger.kernel.org
Subject: [PATCH 6/6] igb: remove unneeded declaration shadowing earlier one
Date: Fri, 01 Feb 2008 08:21:49 -0800	[thread overview]
Message-ID: <20080201162149.29347.59004.stgit@localhost.localdomain> (raw)
In-Reply-To: <20080201162118.29347.13268.stgit@localhost.localdomain>

This removes a sparse warning.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
---

 drivers/net/igb/igb_main.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index f3c144d..d4eb8e2 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -438,7 +438,6 @@ static int igb_request_irq(struct igb_adapter *adapter)
 	if (adapter->msix_entries) {
 		err = igb_request_msix(adapter);
 		if (!err) {
-			struct e1000_hw *hw = &adapter->hw;
 			/* enable IAM, auto-mask,
 			 * DO NOT USE EIAME or IAME in legacy mode */
 			wr32(E1000_IAM, IMS_ENABLE_MASK);


  parent reply	other threads:[~2008-02-01 16:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-01 16:21 [PATCH 1/6] e1000e: make a function static Auke Kok
2008-02-01 16:21 ` [PATCH 2/6] e1000: make e1000_dump_eeprom() static Auke Kok
2008-02-01 16:21 ` [PATCH 3/6] e100: Fix iomap mem accesses Auke Kok
2008-02-01 16:21 ` [PATCH 4/6] e100: fix spelling errors Auke Kok
2008-02-01 16:21 ` [PATCH 5/6] e1000e: tweak irq allocation messages Auke Kok
2008-02-01 16:21 ` Auke Kok [this message]
2008-02-01 18:53 ` [PATCH 1/6] e1000e: make a function static Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080201162149.29347.59004.stgit@localhost.localdomain \
    --to=auke-jan.h.kok@intel.com \
    --cc=jeff@garzik.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.