ftrace: Remove unused nr_trampolines var
authorDmitry Safonov <0x7f454c46@gmail.com>
Wed, 13 Jan 2016 15:39:58 +0000 (18:39 +0300)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 14 Jan 2016 14:28:37 +0000 (09:28 -0500)
It's not needed & not used since introducing old_hash: commit fef5aeeee9e371
("ftrace: Replace tramp_hash with old_*_hash to save space").

Link: http://lkml.kernel.org/r/1452699598-27610-1-git-send-email-0x7f454c46@gmail.com
Signed-off-by: Dmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace.h

index 60048c50404ee612aae6535ef8abfcf8475086d6..65460ad93c7bc23cd61771341e145da67a1b31ea 100644 (file)
@@ -164,7 +164,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;