From: Alex Shi Date: Tue, 21 Jan 2020 05:50:07 +0000 (+0800) Subject: ftrace: Remove abandoned macros X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9a09cd74e7dc6c2ac34b39ea6e74440ceb4c501e;p=openwrt%2Fstaging%2Fblogic.git ftrace: Remove abandoned macros These 2 macros aren't used from commit eee8ded131f1 ("ftrace: Have the function probes call their own function"), so remove them. Link: http://lkml.kernel.org/r/1579585807-43316-1-git-send-email-alex.shi@linux.alibaba.com Signed-off-by: Alex Shi Signed-off-by: Steven Rostedt (VMware) --- diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 3f0ae07e72ef..7fe87c7ab1a8 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -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