projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
602ae00
)
net: amd8111e: remove repeated dev->features assignement
author
Jian Shen
<shenjian15@huawei.com>
Tue, 19 Jul 2022 14:24:24 +0000
(22:24 +0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Thu, 21 Jul 2022 04:01:16 +0000
(21:01 -0700)
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>
drivers/net/ethernet/amd/amd8111e.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/amd/amd8111e.c
b/drivers/net/ethernet/amd/amd8111e.c
index
05ac8d9
..
5d1baa0
100644
(file)
--- 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);