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>
This commit is contained in:
parent
9b71c5e070
commit
6d490a7e5b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user