Skip to content

Commit a9b3d56

Browse files
hkallweitdavem330
authored andcommitted
r8169: remove NETIF_F_HIGHDMA from vlan_features
NETIF_F_HIGHDMA is added to vlan_features by register_netdev(), therefore we can omit this here. Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 0360c04 commit a9b3d56

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/net/ethernet/realtek/r8169_main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5440,8 +5440,7 @@ static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
54405440

54415441
dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM |
54425442
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
5443-
dev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO |
5444-
NETIF_F_HIGHDMA;
5443+
dev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO;
54455444
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
54465445

54475446
tp->cp_cmd |= RxChkSum;

0 commit comments

Comments
 (0)