summaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2014-03-02 00:09:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-04 16:42:28 -0800
commit54396b6b033a300ad6efda1f697df9bd23fbf56c (patch)
treea567d863fa84c153f2125f5e1aca5a215a84c33c /drivers/staging/octeon
parent90419615c21cbe00f5d2a6720b719093ade5d794 (diff)
downloadlinux-54396b6b033a300ad6efda1f697df9bd23fbf56c.tar.gz
linux-54396b6b033a300ad6efda1f697df9bd23fbf56c.tar.bz2
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')
-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;