diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2016-02-09 14:57:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-16 15:21:47 -0500 |
commit | b236872739df6410c7c60874ff8f3fb188ffb9d0 (patch) | |
tree | c385b68bd70258aca192428b1afc4acb7eb2e213 /drivers/net/ethernet/mellanox | |
parent | b4ff3a36d3e409d365a09b6b783ff895063ff4ef (diff) | |
download | talos-obmc-linux-b236872739df6410c7c60874ff8f3fb188ffb9d0.tar.gz talos-obmc-linux-b236872739df6410c7c60874ff8f3fb188ffb9d0.zip |
net/mlx5e: Remove select queue ndo initialization
Currently mlx5e_select_queue is redundant since num_tc is always 1.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c index 6a3e430f1062..bca6e85e1c8e 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c @@ -2137,9 +2137,6 @@ static void mlx5e_build_netdev(struct net_device *netdev) SET_NETDEV_DEV(netdev, &mdev->pdev->dev); - if (priv->params.num_tc > 1) - mlx5e_netdev_ops.ndo_select_queue = mlx5e_select_queue; - if (MLX5_CAP_GEN(mdev, vport_group_manager)) { mlx5e_netdev_ops.ndo_set_vf_mac = mlx5e_set_vf_mac; mlx5e_netdev_ops.ndo_set_vf_vlan = mlx5e_set_vf_vlan; |