From: Oleg Nesterov Date: Tue, 15 Jul 2014 18:48:13 +0000 (+0200) Subject: tracing: Kill destroy_preds() and destroy_file_preds() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~185^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e5454d6568c203bca712e1976b052c345f47b44;p=pandora-kernel.git tracing: Kill destroy_preds() and destroy_file_preds() destroy_preds() makes no sense. The only caller, event_remove(), actually wants destroy_file_preds(). __trace_remove_event_call() does destroy_call_preds() which takes care of call->filter. And after the previous change we can simply remove destroy_preds() from event_remove(), we are going to call remove_event_from_tracers() which in turn calls remove_event_file_dir()->free_event_filter(). Link: http://lkml.kernel.org/p/20140715184813.GA20488@redhat.com Signed-off-by: Oleg Nesterov Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed