aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/falcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc/falcon.c')
-rw-r--r--drivers/net/sfc/falcon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c
index c58f8a3443cc..4f96ce4c3532 100644
--- a/drivers/net/sfc/falcon.c
+++ b/drivers/net/sfc/falcon.c
@@ -1636,9 +1636,10 @@ void falcon_fini_interrupt(struct efx_nic *efx)
1636 efx_oword_t reg; 1636 efx_oword_t reg;
1637 1637
1638 /* Disable MSI/MSI-X interrupts */ 1638 /* Disable MSI/MSI-X interrupts */
1639 efx_for_each_channel_with_interrupt(channel, efx) 1639 efx_for_each_channel_with_interrupt(channel, efx) {
1640 if (channel->irq) 1640 if (channel->irq)
1641 free_irq(channel->irq, channel); 1641 free_irq(channel->irq, channel);
1642 }
1642 1643
1643 /* ACK legacy interrupt */ 1644 /* ACK legacy interrupt */
1644 if (FALCON_REV(efx) >= FALCON_REV_B0) 1645 if (FALCON_REV(efx) >= FALCON_REV_B0)