Skip to content

Commit

Permalink
tracing: Convert trace_destroy_fields() to static
Browse files Browse the repository at this point in the history
trace_destroy_fields() is not used outside of the file. It can be
a static function.

Link: http://lkml.kernel.org/r/513D842A.2000907@huawei.com

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@huawei.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
  • Loading branch information
zhangwei(Jovi) authored and Steven Rostedt committed Mar 15, 2013
1 parent b3a8c6f commit ad7067c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/trace/trace_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ static int trace_define_common_fields(void)
return ret;
}

void trace_destroy_fields(struct ftrace_event_call *call)
static void trace_destroy_fields(struct ftrace_event_call *call)
{
struct ftrace_event_field *field, *next;
struct list_head *head;
Expand Down

0 comments on commit ad7067c

Please sign in to comment.