[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210330034056.2266969-1-wanjiabing@vivo.com>
Date: Tue, 30 Mar 2021 11:40:55 +0800
From: Wan Jiabing <wanjiabing@...o.com>
To: Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org
Cc: kael_w@...h.net, Wan Jiabing <wanjiabing@...o.com>
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 <wanjiabing@...o.com>
---
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
Powered by blists - more mailing lists