tracing: Remove duplicate struct declaration in trace_events.h
authorWan Jiabing <wanjiabing@vivo.com>
Tue, 30 Mar 2021 03:40:55 +0000 (11:40 +0800)
committerSteven 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

index 36e27c1..ad413b3 100644 (file)
@@ -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 {