examples/load_balancer: remove unnecessary parenthesis
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 14 Dec 2017 23:32:21 +0000 (15:32 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 5 Jan 2018 21:08:31 +0000 (22:08 +0100)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
examples/load_balancer/config.c

index ebb521e..b5b6636 100644 (file)
@@ -328,7 +328,7 @@ parse_arg_w(const char *arg)
 
                errno = 0;
                lcore = strtoul(p, NULL, 0);
-               if ((errno != 0)) {
+               if (errno != 0) {
                        return -2;
                }