Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: amd8111e: remove repeated dev->features assignement

It's repeated with line 1793-1795, and there isn't any other
handling for it. So remove it.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Link: https://lore.kernel.org/r/20220719142424.4528-1-shenjian15@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Jian Shen and committed by
Jakub Kicinski
09765fcd 602ae008

-3
-3
drivers/net/ethernet/amd/amd8111e.c
··· 1830 1830 dev->max_mtu = AMD8111E_MAX_MTU; 1831 1831 netif_napi_add_weight(dev, &lp->napi, amd8111e_rx_poll, 32); 1832 1832 1833 - #if AMD8111E_VLAN_TAG_USED 1834 - dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX; 1835 - #endif 1836 1833 /* Probe the external PHY */ 1837 1834 amd8111e_probe_ext_phy(dev); 1838 1835