diff options
author | Oleg Nesterov | 2014-07-15 20:48:16 +0200 |
---|---|---|
committer | Steven Rostedt | 2014-07-16 20:22:32 +0200 |
commit | 57375747b6fac0f6cf7b302c4a8adb9043ea8e3b (patch) | |
tree | f345ff7a52a9d3f8ee34239086b2fc3fb23881fd /include/linux/ftrace_event.h | |
parent | tracing: Kill destroy_preds() and destroy_file_preds() (diff) | |
download | kernel-qcow2-linux-57375747b6fac0f6cf7b302c4a8adb9043ea8e3b.tar.gz kernel-qcow2-linux-57375747b6fac0f6cf7b302c4a8adb9043ea8e3b.tar.xz kernel-qcow2-linux-57375747b6fac0f6cf7b302c4a8adb9043ea8e3b.zip |
tracing: Kill destroy_call_preds()
Remove destroy_call_preds(). Its only caller, __trace_remove_event_call(),
can use free_event_filter() and nullify ->filter by hand.
Perhaps we could keep this trivial helper although imo it is pointless, but
then it should be static in trace_events.c.
Link: http://lkml.kernel.org/p/20140715184816.GA20495@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/ftrace_event.h')
-rw-r--r-- | include/linux/ftrace_event.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h index 738d46539269..f434d75e083b 100644 --- a/include/linux/ftrace_event.h +++ b/include/linux/ftrace_event.h @@ -404,7 +404,6 @@ enum event_trigger_type { ETT_EVENT_ENABLE = (1 << 3), }; -extern void destroy_call_preds(struct ftrace_event_call *call); extern int filter_match_preds(struct event_filter *filter, void *rec); extern int filter_check_discard(struct ftrace_event_file *file, void *rec, |