tracing: Kill destroy_call_preds()
authorOleg Nesterov <oleg@redhat.com>
Tue, 15 Jul 2014 18:48:16 +0000 (20:48 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 16 Jul 2014 18:22:32 +0000 (14:22 -0400)
commit57375747b6fac0f6cf7b302c4a8adb9043ea8e3b
treef345ff7a52a9d3f8ee34239086b2fc3fb23881fd
parent3e5454d6568c203bca712e1976b052c345f47b44
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>
include/linux/ftrace_event.h
kernel/trace/trace_events.c
kernel/trace/trace_events_filter.c