From: Stephen Hemminger Date: Thu, 14 Dec 2017 23:32:20 +0000 (-0800) Subject: distributor: remove unnecessary parenthesis X-Git-Tag: spdx-start~773 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5bc53b786b4f83792a25b37dc6d45614e0afba03;p=dpdk.git distributor: remove unnecessary parenthesis Signed-off-by: Stephen Hemminger --- diff --git a/lib/librte_distributor/rte_distributor.c b/lib/librte_distributor/rte_distributor.c index 7c4b171c32..d50598377c 100644 --- a/lib/librte_distributor/rte_distributor.c +++ b/lib/librte_distributor/rte_distributor.c @@ -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); }