ftrace: Remove abandoned macros
authorAlex Shi <alex.shi@linux.alibaba.com>
Tue, 21 Jan 2020 05:50:07 +0000 (13:50 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 21 Jan 2020 22:28:35 +0000 (17:28 -0500)
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 <alex.shi@linux.alibaba.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c

index 3f0ae07e72efc435f3d7bbdc5a67f072857d8566..7fe87c7ab1a81b92baed74589a01984c183e485d 100644 (file)
@@ -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