Skip to contentSkip to conversation

sfc: Remove unused function efx_flush_queues()

PATCH In review Ben Hutchings 1 participant 1 message Nov 26, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 8/16 sfc: Remove unused function efx_flush_queues()

---
 drivers/net/sfc/efx.c |   13 -------------
 drivers/net/sfc/efx.h |    1 -
 2 files changed, 0 insertions(+), 14 deletions(-)
drivers/net/sfc/efx.c +0 -13
index dc85efa..4ebad61 100644
@@ -1237,19 +1237,6 @@ static void efx_remove_all(struct efx_nic *efx)
 	efx_remove_nic(efx);
 }
 
-/* A convinience function to safely flush all the queues */
-void efx_flush_queues(struct efx_nic *efx)
-{
-	EFX_ASSERT_RESET_SERIALISED(efx);
-
-	efx_stop_all(efx);
-
-	efx_fini_channels(efx);
-	efx_init_channels(efx);
-
-	efx_start_all(efx);
-}
-
 /**************************************************************************
  *
  * Interrupt moderation
drivers/net/sfc/efx.h +0 -1
index 3497b03..7acf821 100644
@@ -56,7 +56,6 @@ extern void efx_schedule_slow_fill(struct efx_rx_queue *rx_queue, int delay);
 
 /* Channels */
 extern void efx_process_channel_now(struct efx_channel *channel);
-extern void efx_flush_queues(struct efx_nic *efx);
 #define EFX_EVQ_SIZE 4096
 #define EFX_EVQ_MASK (EFX_EVQ_SIZE - 1)
 
Signature · 3 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.