Skip to content
Commit f17845e5 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

ftrace: warning in kernel/trace/ftrace.c



this warning:

  kernel/trace/ftrace.c:189: warning: ‘frozen_record_count’ defined but not used

triggers because frozen_record_count is only used in the KCONFIG_MARKERS
case. Move the variable it there.

Alas, this frozen-record facility seems to have little use. The
frozen_record_count variable is not used by anything, nor the flags.

So this section might need a bit of dead-code-removal care as well.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 66b0de35
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment