summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/rx.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-03-16 06:57:51 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-17 14:26:40 -0400
commitdebd0034de1f68585ab5d1d3d693d38f19d48e5d (patch)
tree11dd9b2f7db11b23ee3906c1c11c80aa279dffc8 /drivers/net/ethernet/sfc/rx.c
parenta362db3d6c8a952cbde510b1fa35d0ee001b347e (diff)
downloadblackbird-op-linux-debd0034de1f68585ab5d1d3d693d38f19d48e5d.tar.gz
blackbird-op-linux-debd0034de1f68585ab5d1d3d693d38f19d48e5d.zip
sfc: make local functions static
Trivial sparse detected functions that should be static. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/rx.c')
-rw-r--r--drivers/net/ethernet/sfc/rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/rx.c b/drivers/net/ethernet/sfc/rx.c
index a948b36c1910..e73e30bac10e 100644
--- a/drivers/net/ethernet/sfc/rx.c
+++ b/drivers/net/ethernet/sfc/rx.c
@@ -666,8 +666,8 @@ int efx_probe_rx_queue(struct efx_rx_queue *rx_queue)
return rc;
}
-void efx_init_rx_recycle_ring(struct efx_nic *efx,
- struct efx_rx_queue *rx_queue)
+static void efx_init_rx_recycle_ring(struct efx_nic *efx,
+ struct efx_rx_queue *rx_queue)
{
unsigned int bufs_in_recycle_ring, page_ring_size;
OpenPOWER on IntegriCloud