• Ingo Molnar's avatar
    ftrace: warning in kernel/trace/ftrace.c · f17845e5
    Ingo Molnar authored
    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>
    f17845e5
ftrace.c 30.5 KB