diff options
author | 2023-09-06 13:40:38 +0300 | |
---|---|---|
committer | 2023-11-15 11:34:29 -0800 | |
commit | 312eb3fd624495fef4f1c987e21a44a5e4fb6088 (patch) | |
tree | 14ce86be7094e386c0b5519c9e8a12e813191993 /net/core/dev_ioctl.c | |
parent | net/mlx5: Allow sync reset flow when BF MGT interface device is present (diff) | |
download | wireguard-linux-312eb3fd624495fef4f1c987e21a44a5e4fb6088.tar.xz wireguard-linux-312eb3fd624495fef4f1c987e21a44a5e4fb6088.zip |
net/mlx5e: Some cleanup in mlx5e_tc_stats_matchall()
Function mlx5e_tc_stats_matchall() is only called from one file:
drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c
Move it there and make it static as exposing it is unnecessary. Also
variable cur_stats is redundant. Remove it and avoid superfluous copy.
This patch does not change functionality.
Reviewed-by: Patrisious Haddad <phaddad@nvidia.com>
Signed-off-by: Amir Tzin <amirtz@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions