From: zhangwei(Jovi) Date: Mon, 11 Mar 2013 07:13:46 +0000 (+0800) Subject: tracing: Convert trace_destroy_fields() to static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ad7067cebf3253412a7c0a169a9dd056b11e69ac;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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.com Signed-off-by: zhangwei(Jovi) Signed-off-by: Steven Rostedt --- diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index ba523d7beea2..a71cdc3c5df9 100644 --- a/kernel/trace/trace_events.c +++ b/kernel/trace/trace_events.c @@ -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;