tracing: make trace_destroy_fields as static
PATCH 4/13 tracing: make trace_destroy_fields as static
trace_destroy_fields is not used outside, make it as static.
Signed-off-by zhangwei(Jovi) <[email protected]>
--- kernel/trace/trace_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace_events.c +1 -1
@@ -147,7 +147,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;
Signature · 1 line
1.7.9.7