perf ctype: Remove now unused 'spaces' variable
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 93d50edc80abfdf9ad8064af9631a60c56bb0868 Gitweb: https://git.kernel.org/tip/93d50edc80abfdf9ad8064af9631a60c56bb0868 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 25 Jun 2019 16:28:40 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 25 Jun 2019 16:28:40 -0300
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 <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/ctype.c | 4 ---- tools/perf/util/sane_ctype.h | 1 - 2 files changed, 5 deletions(-)
tools/perf/util/ctype.c +0 -4
@@ -35,10 +35,6 @@ const char *graph_dotted_line ="---------------------------------------------------------------------" "---------------------------------------------------------------------" "---------------------------------------------------------------------" ; -const char *spaces = -" " -" " -" " ;const char *dots ="....................................................................." "....................................................................."
tools/perf/util/sane_ctype.h +0 -1
@@ -3,7 +3,6 @@#define _PERF_SANE_CTYPE_Hextern const char *graph_dotted_line; -extern const char *spaces;extern const char *dots;/* Sane ctype - no locale, and works with signed chars */