projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Remove unused pager_use_color variable
[linux-2.6-microblaze.git]
/
tools
/
perf
/
util
/
color.c
diff --git
a/tools/perf/util/color.c
b/tools/perf/util/color.c
index
9b95654
..
e5fb88b
100644
(file)
--- 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;