diff options
| author | Amir Tzin <amirtz@nvidia.com> | 2023-09-06 13:40:38 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-11-15 11:34:29 -0800 |
| commit | 312eb3fd624495fef4f1c987e21a44a5e4fb6088 (patch) | |
| tree | 14ce86be7094e386c0b5519c9e8a12e813191993 /scripts/gdb/linux/tasks.py | |
| parent | cecf44ea1a1ffcc9158f746f391aa12fba953453 (diff) | |
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 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
