projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3a8c6f
)
tracing: Convert trace_destroy_fields() to static
author
zhangwei(Jovi)
<jovi.zhangwei@huawei.com>
Mon, 11 Mar 2013 07:13:46 +0000
(15:13 +0800)
committer
Steven Rostedt
<rostedt@goodmis.org>
Fri, 15 Mar 2013 17:22:08 +0000
(13:22 -0400)
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>
kernel/trace/trace_events.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/trace/trace_events.c
b/kernel/trace/trace_events.c
index ba523d7beea2e571f4d9eec437208b0702c62c7b..a71cdc3c5df9a8d30f073c7fadc98975b263bf9b 100644
(file)
--- 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;