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/[email protected] Cc: <[email protected]> Cc: <[email protected]> Signed-off-by: Zhang Zekun <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent efde97a commit c8f05f2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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)