diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-05-16 16:15:49 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-22 05:59:26 -0400 |
commit | b3475645ed8b823c063f7560b243026150d7c3f8 (patch) | |
tree | e69a067136b0344967c1464f3143222bd3963d9e /drivers/net/sfc/efx.c | |
parent | 2c118e0f6b7f3b8021df3c80c80c0545402f38b4 (diff) |
sfc: Added and removed braces to comply with kernel style
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r-- | drivers/net/sfc/efx.c | 6 |
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) |