From patchwork Thu Dec 14 23:32:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 32292 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EBE891B026; Fri, 15 Dec 2017 00:32:34 +0100 (CET) Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by dpdk.org (Postfix) with ESMTP id 87B421B021 for ; Fri, 15 Dec 2017 00:32:32 +0100 (CET) Received: by mail-pf0-f194.google.com with SMTP id n6so4786795pfa.4 for ; Thu, 14 Dec 2017 15:32:32 -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=pMPOfFdn+hCdisL1/5tvtxwN1MzUmKBR8BOFr3/D4Vc=; b=dlaRr9PCpyDxWv0OSxTPH9c/MVh+o/n2uzvwtwrryQEzl8xme/qzJUw1J45aV+EBPL YxBYYJ/CmthhMTDSZtHh66yyMTXl0MP0ve8OZUgR7k1w3wSWUog5bDO/6bV605BCmLfP ge3KGULEx3t4NQGLc6iv5KCzjtkJTgLZO40NdLDy5j5TbBbwOOnHqtklsgQm4t85UOS7 CzMmFsyAoqQiZO7WfBcbYD7JILp4846+qfHaNU/fRBvnKwLkFHFUEP6pCbZCfXgTLe7+ aZ1slqq4WM/NWnwBdCNVFINOa1oH8P57OFdvbuBzMJkESF+8Vr+Ko0ExyYk7we8Y/jsD 14gg== 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=pMPOfFdn+hCdisL1/5tvtxwN1MzUmKBR8BOFr3/D4Vc=; b=W/JNe1rMn9gigiedTWmwhTmdZ7QgMuahjFjiQvpzlWSAnG00GKq8ALvuU6y4zl3ghL gNjwH2EAzxzkixt+mdOi0EU2HCEbLQYhBqyKeg5OHzoWN/IEllqVMYJckjn6GSRo69kZ ezsF71bm+QA8tah4tkE7v/HANNKtZ9acTC5KrxoimIQCf5LvVOP/HnomoN10++YbycQO +oR1EEP+dYnPuL8aCwo7jY0ftFL0/E9cQlp+6whDiBTEh6pYmrBU0ktykbIFJl+aIc3c ECbJnxIDL1JFQ+yJG1X5f3rTQvBLaznDNM1T9buNVRwbmXcunqKkBCQ4J7cvy0bvYXtU A21Q== X-Gm-Message-State: AKGB3mKXWTsK7/MPtLD+vxFY6kHULryrE4e5uq8wKPrhF8yPIDB/kTlN QAzlLFBBHLRmZQ+/FztUAYJ+xUKaVbA= X-Google-Smtp-Source: ACJfBouGwEGBcz43N4cHq9CfOJlMIRLts9qyOxbi4qDtcRLp7B9h1MfUcvgsfii3w1bu6A5HY1dqbg== X-Received: by 10.84.160.227 with SMTP id v32mr6426467plg.184.1513294351342; Thu, 14 Dec 2017 15:32:31 -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.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Dec 2017 15:32:30 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 14 Dec 2017 15:32:21 -0800 Message-Id: <20171214233221.30928-6-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 5/5] loadbalancer: 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Stephen Hemminger --- examples/load_balancer/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/load_balancer/config.c b/examples/load_balancer/config.c index 755a86e48878..f3402eae2c85 100644 --- a/examples/load_balancer/config.c +++ b/examples/load_balancer/config.c @@ -357,7 +357,7 @@ parse_arg_w(const char *arg) errno = 0; lcore = strtoul(p, NULL, 0); - if ((errno != 0)) { + if (errno != 0) { return -2; }