net/mlx5e: Remove unneeded netif_set_real_num_tx_queues
authorMaxim Mikityanskiy <maximmi@mellanox.com>
Mon, 25 Nov 2019 12:29:46 +0000 (14:29 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 26 Feb 2020 01:05:56 +0000 (17:05 -0800)
commit600a3952a2a6228246fa2acb084f2e4522ca9cb1
tree5103ec13a038f0101431d9aa2490c75e1f4877dc
parent3909a12e79135a66a797041ab337a8c7cb387bdf
net/mlx5e: Remove unneeded netif_set_real_num_tx_queues

The number of queues is now updated by mlx5e_update_netdev_queues in a
centralized way, when no channels are active. Remove an extra occurrence
of netif_set_real_num_tx_queues to prepare it for the next commit.

Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c