Skip to content

Commit c909eec

Browse files
Tariq ToukanSaeed Mahameed
authored andcommitted
net/mlx5e: Statify function mlx5e_monitor_counter_arm
Function usage is limited to the monitor_stats.c file, do not expose it. Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Gal Pressman <gal@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
1 parent b25bd37 commit c909eec

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ int mlx5e_monitor_counter_supported(struct mlx5e_priv *priv)
3636
return true;
3737
}
3838

39-
void mlx5e_monitor_counter_arm(struct mlx5e_priv *priv)
39+
static void mlx5e_monitor_counter_arm(struct mlx5e_priv *priv)
4040
{
4141
u32 in[MLX5_ST_SZ_DW(arm_monitor_counter_in)] = {};
4242

drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@
77
int mlx5e_monitor_counter_supported(struct mlx5e_priv *priv);
88
void mlx5e_monitor_counter_init(struct mlx5e_priv *priv);
99
void mlx5e_monitor_counter_cleanup(struct mlx5e_priv *priv);
10-
void mlx5e_monitor_counter_arm(struct mlx5e_priv *priv);
1110

1211
#endif /* __MLX5_MONITOR_H__ */

0 commit comments

Comments
 (0)