summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhangwei(Jovi) <jovi.zhangwei@huawei.com>2013-03-11 15:13:46 +0800
committerSteven Rostedt <rostedt@goodmis.org>2013-03-15 13:22:08 -0400
commitad7067cebf3253412a7c0a169a9dd056b11e69ac (patch)
tree503e8275e837c3ad97e1ddd1db4a14fce2b34606
parentb3a8c6fd7bb61c910bd4f80ae1d75056e8f98c19 (diff)
downloadlinux-ad7067cebf3253412a7c0a169a9dd056b11e69ac.tar.bz2
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) <jovi.zhangwei@huawei.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--kernel/trace/trace_events.c2
1 files changed, 1 insertions, 1 deletions
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;