From 5bc53b786b4f83792a25b37dc6d45614e0afba03 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 14 Dec 2017 15:32:20 -0800 Subject: [PATCH] distributor: remove unnecessary parenthesis Signed-off-by: Stephen Hemminger --- lib/librte_distributor/rte_distributor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.20.1