]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mpipe/mpipe_tilegx.c
remove extra parentheses in return statement
[dpdk.git] / drivers / net / mpipe / mpipe_tilegx.c
index 35134ba3e127ac7fdf93b30bebe03484e954f7b2..04f3c9f3452afac5e6647bfc8141195962b13af2 100644 (file)
@@ -361,8 +361,8 @@ static inline int
 mpipe_link_compare(struct rte_eth_link *link1,
                   struct rte_eth_link *link2)
 {
-       return ((*(uint64_t *)link1 == *(uint64_t *)link2)
-               ? -1 : 0);
+       return (*(uint64_t *)link1 == *(uint64_t *)link2)
+               ? -1 : 0;
 }
 
 static int