ftrace: remove unused nr_trampolines var
PATCH 1/1 ftrace: remove unused nr_trampolines var
It's not needed & not used since introducing old_hash: commit fef5aeeee9e371 ("ftrace: Replace tramp_hash with old_*_hash to save space").
Signed-off-by Dmitry Safonov <[email protected]>
--- include/linux/ftrace.h | 1 - 1 file changed, 1 deletion(-)
include/linux/ftrace.h +0 -1
@@ -165,7 +165,6 @@ struct ftrace_ops {ftrace_func_t saved_func;int __percpu *disabled;#ifdef CONFIG_DYNAMIC_FTRACE -int nr_trampolines;struct ftrace_ops_hash local_hash;struct ftrace_ops_hash *func_hash;struct ftrace_ops_hash old_hash;
Signature · 1 line
2.7.0
Quoted 4 lines · On Wed, 13 Jan 2016 18:39:58 +0300 Dmitry Safonov <[email protected]> wrote:
It's not needed & not used since introducing
old_hash: commitfef5aeeee9e371("ftrace: Replacetramp_hashwith old_*_hash to save space").Signed-off-by Dmitry Safonov <[email protected]>
Thanks, applied!
-- Steve