summaryrefslogtreecommitdiff
path: root/kernel/trace
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-05-04 16:23:03 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2024-05-14 09:09:00 +0300
commitc9d5b7b8264ba2ead8984a3a4a0c3233911342a4 (patch)
tree1ec1fb38dd95b02a6cc0e95cb95bfc05f698c79f /kernel/trace
parent347bd7f072ea8c36e4becf32c76ee7e96bc7b1c3 (diff)
downloadlinux-c9d5b7b8264ba2ead8984a3a4a0c3233911342a4.tar.xz
ftrace: Remove unused list 'ftrace_direct_funcs'
Commit 8788ca164eb4b ("ftrace: Remove the legacy _ftrace_direct API") stopped using 'ftrace_direct_funcs' (and the associated struct ftrace_direct_func). Remove them. Build tested only (on x86-64 with FTRACE and DYNAMIC_FTRACE enabled) Link: https://lore.kernel.org/linux-trace-kernel/20240504132303.67538-1-linux@treblig.org Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/ftrace.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index f9223513414a..4613bf67ef2c 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -5318,14 +5318,6 @@ ftrace_set_addr(struct ftrace_ops *ops, unsigned long *ips, unsigned int cnt,
#ifdef CONFIG_DYNAMIC_FTRACE_WITH_DIRECT_CALLS
-struct ftrace_direct_func {
- struct list_head next;
- unsigned long addr;
- int count;
-};
-
-static LIST_HEAD(ftrace_direct_funcs);
-
static int register_ftrace_function_nolock(struct ftrace_ops *ops);
/*