Skip to content

Commit a508d06

Browse files
ticat123acmel
authored andcommitted
perf bench numa: Remove dead code in parse_nodes_opt()
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]>
1 parent 8989f5f commit a508d06

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/perf/bench/numa.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -733,8 +733,6 @@ static int parse_nodes_opt(const struct option *opt __maybe_unused,
733733
return -1;
734734

735735
return parse_node_list(arg);
736-
737-
return 0;
738736
}
739737

740738
#define BIT(x) (1ul << x)

0 commit comments

Comments
 (0)