perf annotate: Get rid of field_sep check
authorNamhyung Kim <namhyung@gmail.com>
Sat, 7 Jan 2012 17:25:31 +0000 (02:25 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 8 Jan 2012 15:29:34 +0000 (13:29 -0200)
The 'field_sep' variable is not set anywhere. Just remove the
conditional.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1325957132-10600-7-git-send-email-namhyung@gmail.com
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-annotate.c

index 3ec2496f1e35dece4a7381461ac2dd54be59af72..806e0a286634a6bd7b7a766706c32426730c7727 100644 (file)
@@ -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);
 }