diff options
author | Jian Shen <shenjian15@huawei.com> | 2022-07-19 16:24:24 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-21 06:01:16 +0200 |
commit | 09765fcd3c71c47bf160d325bf4cce5c5bb39292 (patch) | |
tree | da2e9618a3e47d4b630d8ad0fea7af5d92b10efe /drivers/net/ethernet/amd | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next (diff) | |
download | linux-09765fcd3c71c47bf160d325bf4cce5c5bb39292.tar.xz linux-09765fcd3c71c47bf160d325bf4cce5c5bb39292.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/amd')
-rw-r--r-- | drivers/net/ethernet/amd/amd8111e.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/amd/amd8111e.c b/drivers/net/ethernet/amd/amd8111e.c index 05ac8d9ccb2f..5d1baa01360f 100644 --- a/drivers/net/ethernet/amd/amd8111e.c +++ b/drivers/net/ethernet/amd/amd8111e.c @@ -1830,9 +1830,6 @@ static int amd8111e_probe_one(struct pci_dev *pdev, dev->max_mtu = AMD8111E_MAX_MTU; netif_napi_add_weight(dev, &lp->napi, amd8111e_rx_poll, 32); -#if AMD8111E_VLAN_TAG_USED - dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX; -#endif /* Probe the external PHY */ amd8111e_probe_ext_phy(dev); |