diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ftrace_event.h | 1 | ||||
-rw-r--r-- | include/trace/ftrace.h | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h index ea44b8911094..db97c64ce0e9 100644 --- a/include/linux/ftrace_event.h +++ b/include/linux/ftrace_event.h | |||
@@ -159,7 +159,6 @@ enum { | |||
159 | }; | 159 | }; |
160 | 160 | ||
161 | extern int trace_event_raw_init(struct ftrace_event_call *call); | 161 | extern int trace_event_raw_init(struct ftrace_event_call *call); |
162 | extern int trace_define_common_fields(struct ftrace_event_call *call); | ||
163 | extern int trace_define_field(struct ftrace_event_call *call, const char *type, | 162 | extern int trace_define_field(struct ftrace_event_call *call, const char *type, |
164 | const char *name, int offset, int size, | 163 | const char *name, int offset, int size, |
165 | int is_signed, int filter_type); | 164 | int is_signed, int filter_type); |
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index 6055b0604c86..2af2f7a2c1bd 100644 --- a/include/trace/ftrace.h +++ b/include/trace/ftrace.h | |||
@@ -436,10 +436,6 @@ ftrace_define_fields_##call(struct ftrace_event_call *event_call) \ | |||
436 | struct ftrace_raw_##call field; \ | 436 | struct ftrace_raw_##call field; \ |
437 | int ret; \ | 437 | int ret; \ |
438 | \ | 438 | \ |
439 | ret = trace_define_common_fields(event_call); \ | ||
440 | if (ret) \ | ||
441 | return ret; \ | ||
442 | \ | ||
443 | tstruct; \ | 439 | tstruct; \ |
444 | \ | 440 | \ |
445 | return ret; \ | 441 | return ret; \ |