summaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon/ethernet-tx.c
diff options
context:
space:
mode:
authorAaro Koskinen2014-03-01 23:09:07 +0100
committerGreg Kroah-Hartman2014-03-05 01:42:28 +0100
commit54396b6b033a300ad6efda1f697df9bd23fbf56c (patch)
treea567d863fa84c153f2125f5e1aca5a215a84c33c /drivers/staging/octeon/ethernet-tx.c
parentstaging: octeon-ethernet: make num_packet_buffers static (diff)
downloadkernel-qcow2-linux-54396b6b033a300ad6efda1f697df9bd23fbf56c.tar.gz
kernel-qcow2-linux-54396b6b033a300ad6efda1f697df9bd23fbf56c.tar.xz
kernel-qcow2-linux-54396b6b033a300ad6efda1f697df9bd23fbf56c.zip
staging: octeon-ethernet: make cvm_oct_free_tx_skbs static
Make cvm_oct_free_tx_skbs static to eliminate a sparse warning. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon/ethernet-tx.c')
-rw-r--r--drivers/staging/octeon/ethernet-tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/octeon/ethernet-tx.c b/drivers/staging/octeon/ethernet-tx.c
index 47541e1608f3..8ca55c4e9db2 100644
--- a/drivers/staging/octeon/ethernet-tx.c
+++ b/drivers/staging/octeon/ethernet-tx.c
@@ -95,7 +95,7 @@ static void cvm_oct_kick_tx_poll_watchdog(void)
cvmx_write_csr(CVMX_CIU_TIMX(1), ciu_timx.u64);
}
-void cvm_oct_free_tx_skbs(struct net_device *dev)
+static void cvm_oct_free_tx_skbs(struct net_device *dev)
{
int32_t skb_to_free;
int qos, queues_per_port;