]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bonding/rte_eth_bond_pmd.c
remove extra parentheses in return statement
[dpdk.git] / drivers / net / bonding / rte_eth_bond_pmd.c
index b1373c6e1e58f9aa77882171a3b14470cd184874..b63c886aa117c1aaab399f83426f297e99c14e3a 100644 (file)
@@ -480,7 +480,7 @@ ether_hash(struct ether_hdr *eth_hdr)
 static inline uint32_t
 ipv4_hash(struct ipv4_hdr *ipv4_hdr)
 {
-       return (ipv4_hdr->src_addr ^ ipv4_hdr->dst_addr);
+       return ipv4_hdr->src_addr ^ ipv4_hdr->dst_addr;
 }
 
 static inline uint32_t