net/mlx4_en: Remove unused performance counters
authorTariq Toukan <tariqt@nvidia.com>
Wed, 18 Nov 2020 10:34:27 +0000 (12:34 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 Nov 2020 18:59:39 +0000 (10:59 -0800)
commit1a0058cf0c8f5f7ecb2ef2bfe6cfc004d6598769
treedf425c12f25d3930a4b9bb305ef3aee23789f19f
parent12f4bd86225e348ef3a3c8d2bb42dc23ee0f0a4c
net/mlx4_en: Remove unused performance counters

Performance analysis counters are maintained under the MLX4_EN_PERF_STAT
definition, which is never set.
Clean them up, with all related structures and logic.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Link: https://lore.kernel.org/r/20201118103427.4314-1-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/en_rx.c
drivers/net/ethernet/mellanox/mlx4/en_tx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
drivers/net/ethernet/mellanox/mlx4/mlx4_stats.h