[tip:perf/core] perf ctype: Remove unused 'graph_line' variable
From: tip-bot for Arnaldo Carvalho de Melo
Date: Wed Jul 03 2019 - 10:09:34 EST
Commit-ID: 828e27a899156047758628a97eedeb2b8df41670
Gitweb: https://git.kernel.org/tip/828e27a899156047758628a97eedeb2b8df41670
Author: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
AuthorDate: Tue, 25 Jun 2019 16:04:17 -0300
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Tue, 25 Jun 2019 16:04:17 -0300
perf ctype: Remove unused 'graph_line' variable
Not being used at all anywhere.
Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Link: https://lkml.kernel.org/n/tip-1e567f8tn8m4ii7dy1w9dp39@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/util/ctype.c | 4 ----
tools/perf/util/sane_ctype.h | 1 -
2 files changed, 5 deletions(-)
diff --git a/tools/perf/util/ctype.c b/tools/perf/util/ctype.c
index ee4c1e8ed54b..8d90bf8d0d70 100644
--- a/tools/perf/util/ctype.c
+++ b/tools/perf/util/ctype.c
@@ -31,10 +31,6 @@ unsigned char sane_ctype[256] = {
/* Nothing in the 128.. range */
};
-const char *graph_line =
- "_____________________________________________________________________"
- "_____________________________________________________________________"
- "_____________________________________________________________________";
const char *graph_dotted_line =
"---------------------------------------------------------------------"
"---------------------------------------------------------------------"
diff --git a/tools/perf/util/sane_ctype.h b/tools/perf/util/sane_ctype.h
index c2b42ff9ff32..894594fdedfb 100644
--- a/tools/perf/util/sane_ctype.h
+++ b/tools/perf/util/sane_ctype.h
@@ -2,7 +2,6 @@
#ifndef _PERF_SANE_CTYPE_H
#define _PERF_SANE_CTYPE_H
-extern const char *graph_line;
extern const char *graph_dotted_line;
extern const char *spaces;
extern const char *dots;