From: Wan Jiabing Date: Tue, 30 Mar 2021 03:40:55 +0000 (+0800) Subject: tracing: Remove duplicate struct declaration in trace_events.h X-Git-Tag: v5.13-rc1~65^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1decdb335c366fc0a1bae0db55c138c613cc9a1f;p=thirdparty%2Fkernel%2Flinux.git tracing: Remove duplicate struct declaration in trace_events.h 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 Signed-off-by: Steven Rostedt (VMware) --- diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h index 36e27c1f42e09..ad413b382a3ca 100644 --- 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 {