staging: octeon-ethernet: make cvm_oct_free_tx_skbs static
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 1 Mar 2014 22:09:07 +0000 (00:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Mar 2014 00:42:28 +0000 (16:42 -0800)
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>
drivers/staging/octeon/ethernet-tx.c

index 47541e1608f35404cd80d93f768cecf67e549ba2..8ca55c4e9db25b0766652e040a4dc902b45d8d2e 100644 (file)
@@ -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;