mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 18:11:20 +00:00
net/mlx5e: Make function mlx5i_grp_sw_update_stats() static
Fixes the following sparse warning: drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c:119:6: warning: symbol 'mlx5i_grp_sw_update_stats' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
579d03fecb
commit
fbb66ad5dc
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ static void mlx5i_cleanup(struct mlx5e_priv *priv)
|
|||
/* Do nothing .. */
|
||||
}
|
||||
|
||||
void mlx5i_grp_sw_update_stats(struct mlx5e_priv *priv)
|
||||
static void mlx5i_grp_sw_update_stats(struct mlx5e_priv *priv)
|
||||
{
|
||||
struct mlx5e_sw_stats s = { 0 };
|
||||
int i, j;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue