diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-06-25 16:28:40 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-06-25 16:28:40 -0300 |
commit | 93d50edc80abfdf9ad8064af9631a60c56bb0868 (patch) | |
tree | df850975868e41bb7056ee0c2660cd2500c01566 /tools/perf/util/ctype.c | |
parent | b598c34ffc2b60c5c2f6450753a376a81f225652 (diff) | |
download | linux-stable-93d50edc80abfdf9ad8064af9631a60c56bb0868.tar.gz linux-stable-93d50edc80abfdf9ad8064af9631a60c56bb0868.tar.bz2 linux-stable-93d50edc80abfdf9ad8064af9631a60c56bb0868.zip |
perf ctype: Remove now unused 'spaces' variable
We can left justify just fine using the 'field width' modifier in %s
printf, ditch this variable.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-2td8u86mia7143lbr5ttl0kf@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/ctype.c')
-rw-r--r-- | tools/perf/util/ctype.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/util/ctype.c b/tools/perf/util/ctype.c index 8d90bf8d0d70..75c0da59c230 100644 --- a/tools/perf/util/ctype.c +++ b/tools/perf/util/ctype.c @@ -35,10 +35,6 @@ const char *graph_dotted_line = "---------------------------------------------------------------------" "---------------------------------------------------------------------" "---------------------------------------------------------------------"; -const char *spaces = - " " - " " - " "; const char *dots = "....................................................................." "....................................................................." |