summaryrefslogtreecommitdiffstats
path: root/drivers/net/igb
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2008-02-01 08:21:49 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-03 04:28:09 -0800
commit6d490a7e5bea48cdbb869b532b5d7ca0b67ca467 (patch)
tree718ab7bfe9c03428ca7ebd452ea90f575012b081 /drivers/net/igb
parent9b71c5e070946767ac8b19317df89700e967992a (diff)
downloadop-kernel-dev-6d490a7e5bea48cdbb869b532b5d7ca0b67ca467.zip
op-kernel-dev-6d490a7e5bea48cdbb869b532b5d7ca0b67ca467.tar.gz
igb: remove unneeded declaration shadowing earlier one
This removes a sparse warning. Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb')
-rw-r--r--drivers/net/igb/igb_main.c1
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);
OpenPOWER on IntegriCloud