ftrace: Do not pass data to ftrace_dyn_arch_init
commit3a36cb11ca65cd6804972eaf1000378ba4384ea7
authorJiri Slaby <jslaby@suse.cz>
Mon, 24 Feb 2014 18:59:59 +0000 (24 19:59 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 7 Mar 2014 15:06:14 +0000 (7 10:06 -0500)
tree755a42d8458d56ca3ee8e8253514eb2077dbd8f8
parentaf64a7cb09db77344c596a0bf3d57d77257e8bf5
ftrace: Do not pass data to ftrace_dyn_arch_init

As the data parameter is not really used by any ftrace_dyn_arch_init,
remove that from ftrace_dyn_arch_init. This also removes the addr
local variable from ftrace_init which is now unused.

Note the documentation was imprecise as it did not suggest to set
(*data) to 0.

Link: http://lkml.kernel.org/r/1393268401-24379-4-git-send-email-jslaby@suse.cz
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: linux-arch@vger.kernel.org
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
15 files changed:
Documentation/trace/ftrace-design.txt
arch/arm/kernel/ftrace.c
arch/blackfin/kernel/ftrace.c
arch/ia64/kernel/ftrace.c
arch/metag/kernel/ftrace.c
arch/microblaze/kernel/ftrace.c
arch/mips/kernel/ftrace.c
arch/powerpc/kernel/ftrace.c
arch/s390/kernel/ftrace.c
arch/sh/kernel/ftrace.c
arch/sparc/kernel/ftrace.c
arch/tile/kernel/ftrace.c
arch/x86/kernel/ftrace.c
include/linux/ftrace.h
kernel/trace/ftrace.c