Skip to contentSkip to conversation

ftrace: remove abandoned macros

PATCH New Alex Shi 1 participant 1 message Jan 21, 2020

Subsystems (2)
lore
Share & tools
lore

Alex Shi

author
#0 lore raw

PATCH 1/1 ftrace: remove abandoned macros

This 2 macros aren't used from commit eee8ded131f1 ("ftrace: Have the function probes call their own function"), so remove them.

---
 kernel/trace/ftrace.c | 2 --
 1 file changed, 2 deletions(-)
kernel/trace/ftrace.c +0 -2
index 9bf1f2cd515e..68c4f20c564e 100644
@@ -62,8 +62,6 @@
 	})
 
 /* hash bits for specific function selection */
-#define FTRACE_HASH_BITS 7
-#define FTRACE_FUNC_HASHSIZE (1 << FTRACE_HASH_BITS)
 #define FTRACE_HASH_DEFAULT_BITS 10
 #define FTRACE_HASH_MAX_BITS 12
 
Signature · 1 line
1.8.3.1