aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/efx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r--drivers/net/sfc/efx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c
index 3494f4cd314e..df19e86ab2e7 100644
--- a/drivers/net/sfc/efx.c
+++ b/drivers/net/sfc/efx.c
@@ -1060,9 +1060,8 @@ static void efx_flush_all(struct efx_nic *efx)
1060 cancel_delayed_work_sync(&efx->monitor_work); 1060 cancel_delayed_work_sync(&efx->monitor_work);
1061 1061
1062 /* Ensure that all RX slow refills are complete. */ 1062 /* Ensure that all RX slow refills are complete. */
1063 efx_for_each_rx_queue(rx_queue, efx) { 1063 efx_for_each_rx_queue(rx_queue, efx)
1064 cancel_delayed_work_sync(&rx_queue->work); 1064 cancel_delayed_work_sync(&rx_queue->work);
1065 }
1066 1065
1067 /* Stop scheduled port reconfigurations */ 1066 /* Stop scheduled port reconfigurations */
1068 cancel_work_sync(&efx->reconfigure_work); 1067 cancel_work_sync(&efx->reconfigure_work);
@@ -1088,9 +1087,10 @@ static void efx_stop_all(struct efx_nic *efx)
1088 falcon_disable_interrupts(efx); 1087 falcon_disable_interrupts(efx);
1089 if (efx->legacy_irq) 1088 if (efx->legacy_irq)
1090 synchronize_irq(efx->legacy_irq); 1089 synchronize_irq(efx->legacy_irq);
1091 efx_for_each_channel_with_interrupt(channel, efx) 1090 efx_for_each_channel_with_interrupt(channel, efx) {
1092 if (channel->irq) 1091 if (channel->irq)
1093 synchronize_irq(channel->irq); 1092 synchronize_irq(channel->irq);
1093 }
1094 1094
1095 /* Stop all NAPI processing and synchronous rx refills */ 1095 /* Stop all NAPI processing and synchronous rx refills */
1096 efx_for_each_channel(channel, efx) 1096 efx_for_each_channel(channel, efx)