Commit aff4866d authored by Alex Shi's avatar Alex Shi Committed by Steven Rostedt (VMware)
Browse files

ftrace: Remove NR_TO_INIT macro

This macro isn't used from commit cb7be3b2 ("ftrace: remove
daemon"). So no needs to keep it.

Link: http://lkml.kernel.org/r/1579586063-44984-1-git-send-email-alex.shi@linux.alibaba.com



Signed-off-by: default avatarAlex Shi <alex.shi@linux.alibaba.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 9a09cd74
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1101,9 +1101,6 @@ struct ftrace_page {
#define ENTRY_SIZE sizeof(struct dyn_ftrace)
#define ENTRIES_PER_PAGE (PAGE_SIZE / ENTRY_SIZE)

/* estimate from running different kernels */
#define NR_TO_INIT		10000

static struct ftrace_page	*ftrace_pages_start;
static struct ftrace_page	*ftrace_pages;