ftrace: Inline the code from ftrace_dyn_table_alloc()
authorJiri Slaby <jslaby@suse.cz>
Mon, 24 Feb 2014 18:59:57 +0000 (19:59 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 7 Mar 2014 15:06:12 +0000 (10:06 -0500)
commitc867ccd8388d1c1a31bef9c54544b2ef32f0ebca
tree2d4e3b6b4b7b3633e652228936eb972e43d038e0
parent1dc43cf0be9a94a6a7273db284152db15c526106
ftrace: Inline the code from ftrace_dyn_table_alloc()

The function used to do allocations some time ago. This no longer
happens and it only checks the count and prints some info. This patch
inlines the body to the only caller. There are two reasons:
* the name of the function was misleading
* it's clear what is going on in ftrace_init now

Link: http://lkml.kernel.org/r/1393268401-24379-2-git-send-email-jslaby@suse.cz
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c