net/mlx5e: Remove redundant field mlx5e_priv->num_tc
authorAchiad Shochat <achiad@mellanox.com>
Wed, 29 Jul 2015 12:05:41 +0000 (15:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 06:04:46 +0000 (23:04 -0700)
commita4418a6c36cd9eb080cde0473d15f5cee4c3f35d
tree32ebf60893f8869f5d86b13d09f59c37b4dd7f9d
parent68cdf5d6e91068c98d6091b193dc7a5ab7dcf5eb
net/mlx5e: Remove redundant field mlx5e_priv->num_tc

This field already exists under the mlx5e_params struct

Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c