net/mlx5e: Hide function mlx5e_num_channels_changed
No calls for mlx5e_num_channels_changed() out of en_main.c, turn it static and remove from header. Keep the wrapper function mlx5e_num_channels_changed_ctx exposed. Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Aya Levin <ayal@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
parent
3ef1f8e795
commit
e9542221c4
@ -1057,7 +1057,6 @@ int mlx5e_safe_switch_params(struct mlx5e_priv *priv,
|
||||
mlx5e_fp_preactivate preactivate,
|
||||
void *context, bool reset);
|
||||
int mlx5e_update_tx_netdev_queues(struct mlx5e_priv *priv);
|
||||
int mlx5e_num_channels_changed(struct mlx5e_priv *priv);
|
||||
int mlx5e_num_channels_changed_ctx(struct mlx5e_priv *priv, void *context);
|
||||
void mlx5e_activate_priv_channels(struct mlx5e_priv *priv);
|
||||
void mlx5e_deactivate_priv_channels(struct mlx5e_priv *priv);
|
||||
|
@ -2598,7 +2598,7 @@ static void mlx5e_set_default_xps_cpumasks(struct mlx5e_priv *priv,
|
||||
}
|
||||
}
|
||||
|
||||
int mlx5e_num_channels_changed(struct mlx5e_priv *priv)
|
||||
static int mlx5e_num_channels_changed(struct mlx5e_priv *priv)
|
||||
{
|
||||
u16 count = priv->channels.params.num_channels;
|
||||
int err;
|
||||
|
Loading…
x
Reference in New Issue
Block a user