From: Auke Kok Date: Fri, 1 Feb 2008 16:21:49 +0000 (-0800) Subject: igb: remove unneeded declaration shadowing earlier one X-Git-Tag: MMI-PSA29.97-13-9~37551^2~38 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6d490a7e5bea48cdbb869b532b5d7ca0b67ca467;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git igb: remove unneeded declaration shadowing earlier one This removes a sparse warning. Signed-off-by: Auke Kok Signed-off-by: Jeff Garzik Signed-off-by: David S. Miller --- 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) 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);