Skip to contentSkip to conversation

linux/trace_events.h: Remove duplicate struct declaration

PATCH New Wan Jiabing 1 participant 1 message Mar 30, 2021 Tracing

lore
Share & tools
lore
#0 lore raw

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

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

---
Changelog:
v2:
- Undo sorting forward declarations alphabetically.

---
 include/linux/trace_events.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/trace_events.h +0 -1
index 28e7af1406f2..0237094e51f6 100644
@@ -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 {
Signature · 1 line
2.25.1