Skip to content

Commit c8f05f2

Browse files
Zhang Zekunrostedt
authored andcommitted
ftrace: Remove empty declaration ftrace_enable_daemon() and ftrace_disable_daemon()
The definition of ftrace_enable_daemon() and ftrace_disable_daemon() has been removed since commit cb7be3b ("ftrace: remove daemon"), remain the declarations in the header files, so remove it. Link: https://lore.kernel.org/linux-trace-kernel/20230804013636.115940-1-zhangzekun11@huawei.com Cc: <mhiramat@kernel.org> Cc: <mark.rutland@arm.com> Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent efde97a commit c8f05f2

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

include/linux/ftrace.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -862,13 +862,8 @@ extern int skip_trace(unsigned long ip);
862862
extern void ftrace_module_init(struct module *mod);
863863
extern void ftrace_module_enable(struct module *mod);
864864
extern void ftrace_release_mod(struct module *mod);
865-
866-
extern void ftrace_disable_daemon(void);
867-
extern void ftrace_enable_daemon(void);
868865
#else /* CONFIG_DYNAMIC_FTRACE */
869866
static inline int skip_trace(unsigned long ip) { return 0; }
870-
static inline void ftrace_disable_daemon(void) { }
871-
static inline void ftrace_enable_daemon(void) { }
872867
static inline void ftrace_module_init(struct module *mod) { }
873868
static inline void ftrace_module_enable(struct module *mod) { }
874869
static inline void ftrace_release_mod(struct module *mod) { }

0 commit comments

Comments
 (0)