Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7500673b authored by Tushar Dave's avatar Tushar Dave Committed by Jeff Kirsher
Browse files

e1000: Combining Bitwise OR in one expression.

parent 41063e9d
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -1078,18 +1078,18 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
	netdev->priv_flags |= IFF_SUPP_NOFCS;

	netdev->features |= netdev->hw_features;
	netdev->hw_features |= NETIF_F_RXCSUM;
	netdev->hw_features |= NETIF_F_RXALL;
	netdev->hw_features |= NETIF_F_RXFCS;
	netdev->hw_features |= (NETIF_F_RXCSUM |
				NETIF_F_RXALL |
				NETIF_F_RXFCS);

	if (pci_using_dac) {
		netdev->features |= NETIF_F_HIGHDMA;
		netdev->vlan_features |= NETIF_F_HIGHDMA;
	}

	netdev->vlan_features |= NETIF_F_TSO;
	netdev->vlan_features |= NETIF_F_HW_CSUM;
	netdev->vlan_features |= NETIF_F_SG;
	netdev->vlan_features |= (NETIF_F_TSO |
				  NETIF_F_HW_CSUM |
				  NETIF_F_SG);

	netdev->priv_flags |= IFF_UNICAST_FLT;