* [PATCH 04/13] tracing: make trace_destroy_fields as static
@ 2013-03-11 7:13 zhangwei(Jovi)
0 siblings, 0 replies; only message in thread
From: zhangwei(Jovi) @ 2013-03-11 7:13 UTC (permalink / raw)
To: linux-kernel@vger.kernel.org, Steven Rostedt, Frederic Weisbecker,
Ingo Molnar
trace_destroy_fields is not used outside, make it as static.
Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@huawei.com>
---
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 85e6ff5..0626792 100644
--- a/kernel/trace/trace_events.c
+++ b/kernel/trace/trace_events.c
@@ -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;
--
1.7.9.7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-11 7:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-11 7:13 [PATCH 04/13] tracing: make trace_destroy_fields as static zhangwei(Jovi)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.