diff options
author | zhangwei(Jovi) <jovi.zhangwei@huawei.com> | 2013-03-11 07:13:46 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-03-15 17:22:08 (GMT) |
commit | ad7067cebf3253412a7c0a169a9dd056b11e69ac (patch) | |
tree | 503e8275e837c3ad97e1ddd1db4a14fce2b34606 /kernel/trace | |
parent | b3a8c6fd7bb61c910bd4f80ae1d75056e8f98c19 (diff) | |
download | linux-ad7067cebf3253412a7c0a169a9dd056b11e69ac.tar.xz |
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>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/trace_events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index ba523d7..a71cdc3 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; |