diff options
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/builtin-help.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/builtin-help.c b/tools/perf/builtin-help.c index e427d6965e0c..215b584007b1 100644 --- a/tools/perf/builtin-help.c +++ b/tools/perf/builtin-help.c | |||
@@ -313,8 +313,6 @@ static const char *cmd_to_page(const char *perf_cmd) | |||
313 | return "perf"; | 313 | return "perf"; |
314 | else if (!prefixcmp(perf_cmd, "perf")) | 314 | else if (!prefixcmp(perf_cmd, "perf")) |
315 | return perf_cmd; | 315 | return perf_cmd; |
316 | else if (is_perf_command(perf_cmd)) | ||
317 | return prepend("perf-", perf_cmd); | ||
318 | else | 316 | else |
319 | return prepend("perf-", perf_cmd); | 317 | return prepend("perf-", perf_cmd); |
320 | } | 318 | } |