ftrace: Remove unused pointer ftrace_swapper_pid
authorColin Ian King <colin.king@canonical.com>
Thu, 9 Aug 2018 12:56:09 +0000 (13:56 +0100)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 10 Aug 2018 19:12:01 +0000 (15:12 -0400)
commitb207de3ec531ff364843708c9fea968700aae8fe
treecaf55b523258d4a4d92cc87b954c7350f1d873e8
parent3f1756dc210e5abb37121da3e7c10d65920f6ec0
ftrace: Remove unused pointer ftrace_swapper_pid

Pointer ftrace_swapper_pid is defined but is never used hence it is
redundant and can be removed. The use of this variable was removed
in commit 345ddcc882d8 ("ftrace: Have set_ftrace_pid use the bitmap
like events do").

Cleans up clang warning:
warning: 'ftrace_swapper_pid' defined but not used [-Wunused-const-variable=]

Link: http://lkml.kernel.org/r/20180809125609.13142-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c