diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2008-02-01 11:21:49 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-03 07:28:09 -0500 |
commit | 6d490a7e5bea48cdbb869b532b5d7ca0b67ca467 (patch) | |
tree | 718ab7bfe9c03428ca7ebd452ea90f575012b081 /drivers/net | |
parent | 9b71c5e070946767ac8b19317df89700e967992a (diff) |
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')
-rw-r--r-- | 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 f3c144d5d72f..d4eb8e2d8720 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) | |||
438 | if (adapter->msix_entries) { | 438 | if (adapter->msix_entries) { |
439 | err = igb_request_msix(adapter); | 439 | err = igb_request_msix(adapter); |
440 | if (!err) { | 440 | if (!err) { |
441 | struct e1000_hw *hw = &adapter->hw; | ||
442 | /* enable IAM, auto-mask, | 441 | /* enable IAM, auto-mask, |
443 | * DO NOT USE EIAME or IAME in legacy mode */ | 442 | * DO NOT USE EIAME or IAME in legacy mode */ |
444 | wr32(E1000_IAM, IMS_ENABLE_MASK); | 443 | wr32(E1000_IAM, IMS_ENABLE_MASK); |