Skip to content

Commit 4f32e1c

Browse files
Eran Ben Elishadavem330
authored andcommitted
net/mlx4_en: Remove unnecessary warn print in reset config
In mlx4_en_reset_config, there was a redundant warn print that was left from previous versions of this function. No warn is needed anymore. This warn can be confusing when RX-FCS is changed: Turn OFF RX-FCS: mlx4_en: eth1: Changing device configuration rx filter(0) rx vlan(1) Turn ON RX-FCS: mlx4_en: eth1: Changing device configuration rx filter(0) rx vlan(1) Signed-off-by: Eran Ben Elisha <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent f26d0d2 commit 4f32e1c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/ethernet/mellanox/mlx4/en_netdev.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3634,10 +3634,6 @@ int mlx4_en_reset_config(struct net_device *dev,
36343634
mlx4_en_stop_port(dev, 1);
36353635
}
36363636

3637-
en_warn(priv, "Changing device configuration rx filter(%x) rx vlan(%x)\n",
3638-
ts_config.rx_filter,
3639-
!!(features & NETIF_F_HW_VLAN_CTAG_RX));
3640-
36413637
mlx4_en_safe_replace_resources(priv, tmp);
36423638

36433639
if (DEV_FEATURE_CHANGED(dev, features, NETIF_F_HW_VLAN_CTAG_RX)) {

0 commit comments

Comments
 (0)