summaryrefslogtreecommitdiff
path: root/lib/librte_distributor
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2017-12-14 15:32:20 -0800
committerThomas Monjalon <thomas@monjalon.net>2018-01-05 22:08:24 +0100
commit5bc53b786b4f83792a25b37dc6d45614e0afba03 (patch)
treed0572a1659b5f568def7cfc3456dc5dd17333941 /lib/librte_distributor
parent9bfccd71bd171abf2a5f52f9b490157d59864e2f (diff)
downloaddpdk-next-eventdev-5bc53b786b4f83792a25b37dc6d45614e0afba03.zip
dpdk-next-eventdev-5bc53b786b4f83792a25b37dc6d45614e0afba03.tar.gz
dpdk-next-eventdev-5bc53b786b4f83792a25b37dc6d45614e0afba03.tar.xz
distributor: remove unnecessary parenthesis
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Diffstat (limited to 'lib/librte_distributor')
-rw-r--r--lib/librte_distributor/rte_distributor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_distributor/rte_distributor.c b/lib/librte_distributor/rte_distributor.c
index 7c4b171..d505983 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);
}