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
Unified · Split
| @@ -404,7 +404,6 @@ trace_get_fields(struct trace_event_call *event_call) · 403 unmodified lines | |||
| 404 | return event_call->class->get_fields(event_call); | 404 | return event_call->class->get_fields(event_call); |
| 405 | } | 405 | } |
| 406 | 406 | ||
| 407 | struct trace_array; | ||
| 408 | struct trace_subsystem_dir; | 407 | struct trace_subsystem_dir; |
| 409 | 408 | ||
| 410 | enum { | 409 | enum { |