[dpdk-dev] [PATCH 5/5] loadbalancer: remove (unnecessary) parenthesis

Stephen Hemminger stephen at networkplumber.org
Fri Dec 15 00:32:21 CET 2017


Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
 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;
 		}
 
-- 
2.11.0



More information about the dev mailing list