diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2015-12-07 22:21:43 -0600 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-12-09 13:42:02 -0300 |
commit | de7cf7cadca3a3c32c1f1dbf4593a54f236e2dcf (patch) | |
tree | 4269e460ac8460af754e5eb8a598772b89df7816 /tools/perf/util/color.c | |
parent | perf tools: Fix write_numa_topology to put cpu_map instead of free (diff) | |
download | linux-dev-de7cf7cadca3a3c32c1f1dbf4593a54f236e2dcf.tar.xz linux-dev-de7cf7cadca3a3c32c1f1dbf4593a54f236e2dcf.zip |
perf tools: Remove unused pager_use_color variable
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/e540c61b3068761181db6d9b1b3411990bafdb2f.1449548395.git.jpoimboe@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/color.c')
-rw-r--r-- | tools/perf/util/color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/color.c b/tools/perf/util/color.c index 9b9565416f90..e5fb88bab9e1 100644 --- a/tools/perf/util/color.c +++ b/tools/perf/util/color.c @@ -24,7 +24,7 @@ int perf_config_colorbool(const char *var, const char *value, int stdout_is_tty) auto_color: if (stdout_is_tty < 0) stdout_is_tty = isatty(1); - if (stdout_is_tty || (pager_in_use() && pager_use_color)) { + if (stdout_is_tty || pager_in_use()) { char *term = getenv("TERM"); if (term && strcmp(term, "dumb")) return 1; |