Skip to contentSkip to conversation

ftrace: Remove unused ftrace_force_update()

PATCH New Jinyang He 1 participant 1 message Feb 4, 2021 ftrace

lore
Share & tools
lore

Jinyang He

author
#0 lore raw

PATCH 1/1 ftrace: Remove unused ftrace_force_update()

ftrace_force_update() is committed by Commit e1c08bdd9fa7 ("ftrace: force recording") and removed by Commit cb7be3b2fc2c ("ftrace: remove daemon"). Remove it in header file.

---
 include/linux/ftrace.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/ftrace.h +0 -2
index 9a8ce28..86e5028 100644
@@ -485,7 +485,6 @@ struct dyn_ftrace {
 	struct dyn_arch_ftrace	arch;
 };
 
-int ftrace_force_update(void);
 int ftrace_set_filter_ip(struct ftrace_ops *ops, unsigned long ip,
 			 int remove, int reset);
 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
@@ -740,7 +739,6 @@ extern void ftrace_disable_daemon(void);
 extern void ftrace_enable_daemon(void);
 #else /* CONFIG_DYNAMIC_FTRACE */
 static inline int skip_trace(unsigned long ip) { return 0; }
-static inline int ftrace_force_update(void) { return 0; }
 static inline void ftrace_disable_daemon(void) { }
 static inline void ftrace_enable_daemon(void) { }
 static inline void ftrace_module_init(struct module *mod) { }
Signature · 1 line
2.1.0