mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 02:53:36 +02:00
net/mlx5e: Remove early assignment to netdev->features
The netdev->features is initialized to netdev->hw_features at a later point in the flow. Remove any redundant earlier assignment. Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Gal Pressman <gal@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
parent
b2a62e56b1
commit
23ec697286
|
|
@ -5244,7 +5244,6 @@ static void mlx5e_build_nic_netdev(struct net_device *netdev)
|
|||
|
||||
netdev->gso_partial_features |= NETIF_F_GSO_UDP_L4;
|
||||
netdev->hw_features |= NETIF_F_GSO_UDP_L4;
|
||||
netdev->features |= NETIF_F_GSO_UDP_L4;
|
||||
|
||||
mlx5_query_port_fcs(mdev, &fcs_supported, &fcs_enabled);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user