net/mlx5e: Remove redundant active_channels indication
authorEran Ben Elisha <eranbe@mellanox.com>
Tue, 29 May 2018 08:06:31 +0000 (11:06 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Jun 2018 23:48:14 +0000 (16:48 -0700)
commit6c63efe4cfabf230a8ed4b1d880249875ffdac13
treef0a68926d7f2def94b8a5efac9773bacd3f27dc3
parent8bfaf07f780683948a3183d3b14a76dfd50bf899
net/mlx5e: Remove redundant active_channels indication

Now, when all channels stats are saved regardless of the channel's state
{open, closed}, we can safely remove this indication and the stats spin
lock which protects it.

Fixes: 76c3810bade3 ("net/mlx5e: Avoid reset netdev stats on configuration changes")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c