distributor: remove unnecessary parenthesis
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 14 Dec 2017 23:32:20 +0000 (15:32 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 5 Jan 2018 21:08:24 +0000 (22:08 +0100)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/librte_distributor/rte_distributor.c

index 7c4b171..d505983 100644 (file)
@@ -354,7 +354,7 @@ rte_distributor_process_v1705(struct rte_distributor *d,
        if (unlikely(num_mbufs == 0)) {
                /* Flush out all non-full cache-lines to workers. */
                for (wid = 0 ; wid < d->num_workers; wid++) {
-                       if ((d->bufs[wid].bufptr64[0] & RTE_DISTRIB_GET_BUF)) {
+                       if (d->bufs[wid].bufptr64[0] & RTE_DISTRIB_GET_BUF) {
                                release(d, wid);
                                handle_returns(d, wid);
                        }