sfc: Remove unused function efx_flush_queues()
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 25 Nov 2009 16:10:05 +0000 (16:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Nov 2009 23:59:23 +0000 (15:59 -0800)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/efx.c
drivers/net/sfc/efx.h

index dc85efaf15a0a7e0b700346de43ac6152d96740c..4ebad613e6de66bd3ee2995b5700526c87f79a8c 100644 (file)
@@ -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
index 3497b036f4081bc70f5d7873ae3112d5782dd3cb..7acf82108a4f6c462bbae1ae42ec35a2ac35956e 100644 (file)
@@ -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)