aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/igb/igb_main.c')
-rw-r--r--drivers/net/igb/igb_main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index e3f521ccf9d5..56c14557cea3 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -3519,7 +3519,7 @@ static irqreturn_t igb_intr_msi(int irq, void *data)
3519} 3519}
3520 3520
3521/** 3521/**
3522 * igb_intr - Interrupt Handler 3522 * igb_intr - Legacy Interrupt Handler
3523 * @irq: interrupt number 3523 * @irq: interrupt number
3524 * @data: pointer to a network interface device structure 3524 * @data: pointer to a network interface device structure
3525 **/ 3525 **/
@@ -3531,7 +3531,6 @@ static irqreturn_t igb_intr(int irq, void *data)
3531 /* Interrupt Auto-Mask...upon reading ICR, interrupts are masked. No 3531 /* Interrupt Auto-Mask...upon reading ICR, interrupts are masked. No
3532 * need for the IMC write */ 3532 * need for the IMC write */
3533 u32 icr = rd32(E1000_ICR); 3533 u32 icr = rd32(E1000_ICR);
3534 u32 eicr = 0;
3535 if (!icr) 3534 if (!icr)
3536 return IRQ_NONE; /* Not our interrupt */ 3535 return IRQ_NONE; /* Not our interrupt */
3537 3536
@@ -3547,8 +3546,6 @@ static irqreturn_t igb_intr(int irq, void *data)
3547 adapter->stats.doosync++; 3546 adapter->stats.doosync++;
3548 } 3547 }
3549 3548
3550 eicr = rd32(E1000_EICR);
3551
3552 if (icr & (E1000_ICR_RXSEQ | E1000_ICR_LSC)) { 3549 if (icr & (E1000_ICR_RXSEQ | E1000_ICR_LSC)) {
3553 hw->mac.get_link_status = 1; 3550 hw->mac.get_link_status = 1;
3554 /* guard against interrupt when we're going down */ 3551 /* guard against interrupt when we're going down */