mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
b598c34ffc
commit
93d50edc80
|
@ -35,10 +35,6 @@ const char *graph_dotted_line =
|
|||
"---------------------------------------------------------------------"
|
||||
"---------------------------------------------------------------------"
|
||||
"---------------------------------------------------------------------";
|
||||
const char *spaces =
|
||||
" "
|
||||
" "
|
||||
" ";
|
||||
const char *dots =
|
||||
"....................................................................."
|
||||
"....................................................................."
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#define _PERF_SANE_CTYPE_H
|
||||
|
||||
extern const char *graph_dotted_line;
|
||||
extern const char *spaces;
|
||||
extern const char *dots;
|
||||
|
||||
/* Sane ctype - no locale, and works with signed chars */
|
||||
|
|
Loading…
Reference in New Issue