aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2012-01-07 17:25:31 +0000
committerArnaldo Carvalho de Melo <[email protected]>2012-01-08 15:29:34 +0000
commit6714a04114639350a7fed93edf8e1b995c5e8059 (patch)
tree0be30e0c6fc77dc2881082654d9cd02ae710538f /tools/perf/builtin-annotate.c
parentperf annotate: Fix usage string (diff)
downloadkernel-6714a04114639350a7fed93edf8e1b995c5e8059.tar.gz
kernel-6714a04114639350a7fed93edf8e1b995c5e8059.zip
perf annotate: Get rid of field_sep check
The 'field_sep' variable is not set anywhere. Just remove the conditional. Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r--tools/perf/builtin-annotate.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c
index 3ec2496f1e35..806e0a286634 100644
--- a/tools/perf/builtin-annotate.c
+++ b/tools/perf/builtin-annotate.c
@@ -313,10 +313,5 @@ int cmd_annotate(int argc, const char **argv, const char *prefix __used)
annotate.sym_hist_filter = argv[0];
}
- if (field_sep && *field_sep == '.') {
- pr_err("'.' is the only non valid --field-separator argument\n");
- return -1;
- }
-
return __cmd_annotate(&annotate);
}