Skip to content

Commit

Permalink
sfc: Remove unused function efx_flush_queues()
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Nov 26, 2009
1 parent 127e6e1 commit 1338344
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions drivers/net/sfc/efx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion drivers/net/sfc/efx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1338344

Please sign in to comment.