net/mlx5e: Make mlx5e_modify_rqs_vsd a static function
authorGuy Ergas <guye@mellanox.com>
Mon, 20 Feb 2017 15:31:20 +0000 (17:31 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 6 Apr 2017 22:21:00 +0000 (01:21 +0300)
Make mlx5e_modify_rqs_vsd a static function and remove from en.h in
order to reduce redundant exposure of functions.

Signed-off-by: Guy Ergas <guye@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c

index a58031da7fad49dc18b26d80bbb8ea3755bd8ccf..b7feecfbb5a5739a946ee042f33ce95b35108097 100644 (file)
@@ -843,8 +843,6 @@ int mlx5e_vlan_rx_kill_vid(struct net_device *dev, __always_unused __be16 proto,
 void mlx5e_enable_vlan_filter(struct mlx5e_priv *priv);
 void mlx5e_disable_vlan_filter(struct mlx5e_priv *priv);
 
-int mlx5e_modify_channels_vsd(struct mlx5e_channels *chs, bool vsd);
-
 struct mlx5e_redirect_rqt_param {
        bool is_rss;
        union {
index 83796ce17fc3447ab4bb82dad4c529abf66d13a1..b57a6e72cc86893c5c6a52bca4276d44f2459cc9 100644 (file)
@@ -2950,7 +2950,7 @@ static int mlx5e_modify_channels_scatter_fcs(struct mlx5e_channels *chs, bool en
        return 0;
 }
 
-int mlx5e_modify_channels_vsd(struct mlx5e_channels *chs, bool vsd)
+static int mlx5e_modify_channels_vsd(struct mlx5e_channels *chs, bool vsd)
 {
        int err = 0;
        int i;