]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/net/r8169.c
vlan: Don't check for vlan group before vlan_tx_tag_present.
[mirror_ubuntu-zesty-kernel.git] / drivers / net / r8169.c
index 1760533852a46a0681bc6ed9de7cedec9637ae02..242748b2c357249eb83690ed9bdd634508e31e91 100644 (file)
@@ -1034,7 +1034,7 @@ static int rtl8169_set_rx_csum(struct net_device *dev, u32 data)
 static inline u32 rtl8169_tx_vlan_tag(struct rtl8169_private *tp,
                                      struct sk_buff *skb)
 {
-       return (tp->vlgrp && vlan_tx_tag_present(skb)) ?
+       return (vlan_tx_tag_present(skb)) ?
                TxVlanTag | swab16(vlan_tx_tag_get(skb)) : 0x00;
 }