diff options
author | Peng Fan <fanpeng@loongson.cn> | 2020-08-14 12:44:54 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-08-14 14:42:30 +0200 |
commit | a508d061ef04b163a85f55ba8a748c026f89da45 (patch) | |
tree | f826998c0d344a8dfd00baf1c629ab6201d43dc1 /tools/perf | |
parent | perf stat: Update POWER9 metrics to utilize other metrics (diff) | |
download | linux-a508d061ef04b163a85f55ba8a748c026f89da45.tar.xz linux-a508d061ef04b163a85f55ba8a748c026f89da45.zip |
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 <fanpeng@loongson.cn>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/1597401894-27549-1-git-send-email-fanpeng@loongson.cn
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/bench/numa.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c index 6d5c890478cb..f85bceccc459 100644 --- a/tools/perf/bench/numa.c +++ b/tools/perf/bench/numa.c @@ -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) |