2021-03-30 03:43:24

by Jiabing Wan

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

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

Signed-off-by: Wan Jiabing <[email protected]>
---
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