From: "zhangwei(Jovi)" <jovi.zhang...@huawei.com> trace_destroy_fields() is not used outside of the file. It can be a static function.
Link: http://lkml.kernel.org/r/513d842a.2000...@huawei.com Signed-off-by: zhangwei(Jovi) <jovi.zhang...@huawei.com> Signed-off-by: Steven Rostedt <rost...@goodmis.org> --- kernel/trace/trace_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.7.10.4
signature.asc
Description: This is a digitally signed message part