提交 de1cf8a7 编写于 作者: W Wu Fengguang 提交者: David S. Miller

net/mlx4_en: mlx4_en_set_tx_maxrate() can be static

Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 af615762
...@@ -2379,7 +2379,7 @@ static netdev_features_t mlx4_en_features_check(struct sk_buff *skb, ...@@ -2379,7 +2379,7 @@ static netdev_features_t mlx4_en_features_check(struct sk_buff *skb,
} }
#endif #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_priv *priv = netdev_priv(dev);
struct mlx4_en_tx_ring *tx_ring = priv->tx_ring[queue_index]; struct mlx4_en_tx_ring *tx_ring = priv->tx_ring[queue_index];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册