net/mlx4_en: mlx4_en_set_tx_maxrate() can be static

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Wu Fengguang 2015-03-19 08:51:27 +08:00 committed by David S. Miller
parent af615762e9
commit de1cf8a7d7
1 changed files with 1 additions and 1 deletions

View File

@ -2379,7 +2379,7 @@ static netdev_features_t mlx4_en_features_check(struct sk_buff *skb,
}
#endif
int mlx4_en_set_tx_maxrate(struct net_device *dev, int queue_index, u32 maxrate)
static int mlx4_en_set_tx_maxrate(struct net_device *dev, int queue_index, u32 maxrate)
{
struct mlx4_en_priv *priv = netdev_priv(dev);
struct mlx4_en_tx_ring *tx_ring = priv->tx_ring[queue_index];