]> Git Repo - linux.git/commitdiff
perf bench numa: Remove dead code in parse_nodes_opt()
authorPeng Fan <[email protected]>
Fri, 14 Aug 2020 10:44:54 +0000 (18:44 +0800)
committerArnaldo Carvalho de Melo <[email protected]>
Fri, 14 Aug 2020 12:42:30 +0000 (09:42 -0300)
In the function parse_nodes_opt(), the statement "return 0;" is dead
code, remove it.

Signed-off-by: Peng Fan <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/bench/numa.c

index 6d5c890478cb14c3473287ae79bc9b0333eded9b..f85bceccc45943243a4cca2a7828614b5e45a42d 100644 (file)
@@ -733,8 +733,6 @@ static int parse_nodes_opt(const struct option *opt __maybe_unused,
                return -1;
 
        return parse_node_list(arg);
-
-       return 0;
 }
 
 #define BIT(x) (1ul << x)
This page took 0.056843 seconds and 4 git commands to generate.