Skip to content

Commit

Permalink
net/mlx4_en: mlx4_en_set_tx_maxrate() can be static
Browse files Browse the repository at this point in the history
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Wu Fengguang authored and David S. Miller committed Mar 19, 2015
1 parent af61576 commit de1cf8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/mellanox/mlx4/en_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit de1cf8a

Please sign in to comment.