From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by dpdk.org (Postfix) with ESMTP id 3D7981B01C for ; Fri, 15 Dec 2017 00:32:31 +0100 (CET) Received: by mail-pf0-f193.google.com with SMTP id p84so4789337pfd.3 for ; Thu, 14 Dec 2017 15:32:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rrh+y4T4VmnHzXiyhefYCgdiN73I/uz23iVHB0tbcFU=; b=cRL/YbpdOdlslL1UorGxyGmprck1X3kyGzwcV06fgKKVsE0rMZCOpoMKWz8/NcH153 3NR2o5VsjKirlFLNx2vMocIuglaNn2TULVpgqSSKSMXJgAkE0/5/UNmh1DLtteYYhDPk ZEegRgfOQqg4sDzTNWy65uZGHyV27lI+IDwrbcnLeoo3bOeG5QQ6GU/EGixxf87bIizN 0SOr674ZW8r78oLpqq3P6MkLU8YSiAmnFg36CofKQP3l+K0PPHWcfUcpFVpt+jgfIQWA l0m87mhs3Odtmor5KNSfbh698kVZsOiwuxE11MFc+29MRdhuWc2iKHatwzlvHYs5yYRX 0eZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=rrh+y4T4VmnHzXiyhefYCgdiN73I/uz23iVHB0tbcFU=; b=TvsL6TGmwwMpdkIV2RT0qWTsJV614M3dVO6ig2yMtmN/nTsfkesfR0AXSFDkqAVVFG 4F96fcVLycPIAAUfFOfXwyKjM4kexID1mAvyaetLlWnm7/7z4W04tqdGZ1clN51fEGvE K+fv5fPl3Cct45HKFNBCTxS66HJuzhNfmqaij13hV5bvR/m/i1vkRPY0fhinQjE2rAjs 76F3eFMkzZWk/8qj5W0uR45rEOprS/r7M1iY3rz0m1ecsSLvALSLx/MBWLmHLgv78lsy CDp3gR5eGVr8COCS4kqlTFp7FLCy25AG+XsapT5WeAv+xLmknxPP6HXIwJW5p/iUdK07 3EwQ== X-Gm-Message-State: AKGB3mLSbLBF0XAH1WUzcAzbms3fqk1oJfcmmkv4jYenCGNR6sP9/XKV pR52dE1TWVNyQYydbEcpRgURrgxNEeA= X-Google-Smtp-Source: ACJfBotCegFwFRouwAsVe9tZgb4eViido/hm/28PdOck4s0scJREOEQWcpvRvlD6EX38Kci9PP/TJQ== X-Received: by 10.159.233.131 with SMTP id bh3mr10921940plb.97.1513294350059; Thu, 14 Dec 2017 15:32:30 -0800 (PST) Received: from xeon-e3.lan (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id p87sm9706584pfi.95.2017.12.14.15.32.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Dec 2017 15:32:29 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 14 Dec 2017 15:32:20 -0800 Message-Id: <20171214233221.30928-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171214233221.30928-1-stephen@networkplumber.org> References: <20171214233221.30928-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 4/5] distributor: remove (unnecessary) parenthesis X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2017 23:32:31 -0000 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 6ad230131502..b71f254c3cbc 100644 --- a/lib/librte_distributor/rte_distributor.c +++ b/lib/librte_distributor/rte_distributor.c @@ -382,7 +382,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.11.0