net: sxgbe: make local functions static

Make local functions static, because these are used only in this
file.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Byungho An <bh74.an@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jingoo Han 2014-04-17 19:13:53 +09:00 committed by David S. Miller
parent 412ca1550c
commit 85da101f54

View File

@ -425,7 +425,7 @@ dmamem_err:
* @rx_rsize: ring size
* Description: this function initializes the DMA RX descriptor
*/
void free_rx_ring(struct device *dev, struct sxgbe_rx_queue *rx_ring,
static void free_rx_ring(struct device *dev, struct sxgbe_rx_queue *rx_ring,
int rx_rsize)
{
dma_free_coherent(dev, rx_rsize * sizeof(struct sxgbe_rx_norm_desc),
@ -519,7 +519,7 @@ error:
* @tx_rsize: ring size
* Description: this function initializes the DMA TX descriptor
*/
void free_tx_ring(struct device *dev, struct sxgbe_tx_queue *tx_ring,
static void free_tx_ring(struct device *dev, struct sxgbe_tx_queue *tx_ring,
int tx_rsize)
{
dma_free_coherent(dev, tx_rsize * sizeof(struct sxgbe_tx_norm_desc),
@ -1218,9 +1218,8 @@ static int sxgbe_release(struct net_device *dev)
return 0;
}
/* Prepare first Tx descriptor for doing TSO operation */
void sxgbe_tso_prepare(struct sxgbe_priv_data *priv,
static void sxgbe_tso_prepare(struct sxgbe_priv_data *priv,
struct sxgbe_tx_norm_desc *first_desc,
struct sk_buff *skb)
{