Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de1cf8a7 authored by Wu Fengguang's avatar Wu Fengguang Committed by David S. Miller
Browse files

net/mlx4_en: mlx4_en_set_tx_maxrate() can be static

parent af615762
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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];