Commit ad7067ce authored by zhangwei(Jovi)'s avatar zhangwei(Jovi) Committed by Steven Rostedt

tracing: Convert trace_destroy_fields() to static

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.comSigned-off-by: default avatarzhangwei(Jovi) <jovi.zhangwei@huawei.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent b3a8c6fd
...@@ -158,7 +158,7 @@ static int trace_define_common_fields(void) ...@@ -158,7 +158,7 @@ static int trace_define_common_fields(void)
return ret; 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 ftrace_event_field *field, *next;
struct list_head *head; struct list_head *head;
......
Markdown is supported
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