* [PATCH] ftrace: remove unused nr_trampolines var
@ 2016-01-13 15:39 Dmitry Safonov
2016-01-13 21:04 ` Steven Rostedt
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Safonov @ 2016-01-13 15:39 UTC (permalink / raw)
To: rostedt, mingo; +Cc: linux-kernel, Dmitry Safonov
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 <0x7f454c46@gmail.com>
---
include/linux/ftrace.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index 0639dcc..81de712 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -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;
--
2.7.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ftrace: remove unused nr_trampolines var
2016-01-13 15:39 [PATCH] ftrace: remove unused nr_trampolines var Dmitry Safonov
@ 2016-01-13 21:04 ` Steven Rostedt
0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2016-01-13 21:04 UTC (permalink / raw)
To: Dmitry Safonov; +Cc: mingo, linux-kernel
On Wed, 13 Jan 2016 18:39:58 +0300
Dmitry Safonov <0x7f454c46@gmail.com> wrote:
> 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 <0x7f454c46@gmail.com>
Thanks, applied!
-- Steve
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-13 21:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-13 15:39 [PATCH] ftrace: remove unused nr_trampolines var Dmitry Safonov
2016-01-13 21:04 ` Steven Rostedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®