[PATCH] [v2] linux/trace_events.h: Remove duplicate struct declaration

From: Wan Jiabing
Date: Mon Mar 29 2021 - 23:42:36 EST


struct trace_array is declared twice. One has been declared
at forward declaration. Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@xxxxxxxx>
---
Changelog:
v2:
- Undo sorting forward declarations alphabetically.
---
include/linux/trace_events.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h
index 28e7af1406f2..0237094e51f6 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 {
--
2.25.1