summaryrefslogtreecommitdiffstats
path: root/kernel/tools/perf/util/pager.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/perf/util/pager.c')
-rw-r--r--kernel/tools/perf/util/pager.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/tools/perf/util/pager.c b/kernel/tools/perf/util/pager.c
index 31ee02d4e..53ef006a9 100644
--- a/kernel/tools/perf/util/pager.c
+++ b/kernel/tools/perf/util/pager.c
@@ -50,11 +50,6 @@ void setup_pager(void)
if (!isatty(1))
return;
- if (!pager) {
- if (!pager_program)
- perf_config(perf_default_config, NULL);
- pager = pager_program;
- }
if (!pager)
pager = getenv("PAGER");
if (!(pager || access("/usr/bin/pager", X_OK)))