projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22d5755
)
tracing: Remove duplicate struct declaration in trace_events.h
author
Wan Jiabing
<wanjiabing@vivo.com>
Tue, 30 Mar 2021 03:40:55 +0000
(11:40 +0800)
committer
Steven Rostedt (VMware)
<rostedt@goodmis.org>
Thu, 1 Apr 2021 18:18:32 +0000
(14:18 -0400)
struct trace_array is declared twice. One has been declared
at forward declaration. Remove the duplicate.
Link:
https://lkml.kernel.org/r/20210330034056.2266969-1-wanjiabing@vivo.com
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/trace_events.h
patch
|
blob
|
history
diff --git
a/include/linux/trace_events.h
b/include/linux/trace_events.h
index
36e27c1
..
ad413b3
100644
(file)
--- a/
include/linux/trace_events.h
+++ b/
include/linux/trace_events.h
@@
-404,7
+404,6
@@
trace_get_fields(struct trace_event_call *event_call)
return event_call->class->get_fields(event_call);
}
-struct trace_array;
struct trace_subsystem_dir;
enum {