linux/arch/sh
Jiri Slaby af64a7cb09 ftrace: Pass retval through return in ftrace_dyn_arch_init()
No architecture uses the "data" parameter in ftrace_dyn_arch_init() in any
way, it just sets the value to 0. And this is used as a return value
in the caller -- ftrace_init, which just checks the retval against
zero.

Note there is also "return 0" in every ftrace_dyn_arch_init.  So it is
enough to check the retval and remove all the indirect sets of data on
all archs.

Link: http://lkml.kernel.org/r/1393268401-24379-3-git-send-email-jslaby@suse.cz

Cc: linux-arch@vger.kernel.org
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2014-03-07 10:06:13 -05:00
..
boards Input: i8042 - select ARCH_MIGHT_HAVE_PC_SERIO for SH_CAYMAN 2014-01-02 15:48:21 -08:00
boot
cchips
configs PCI: hotplug: Convert to be builtin only, not modular 2013-07-25 14:11:06 -06:00
drivers PCI: Delay enabling bridges until they're needed 2013-07-25 12:35:03 -06:00
include Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-01-25 11:17:34 -08:00
kernel ftrace: Pass retval through return in ftrace_dyn_arch_init() 2014-03-07 10:06:13 -05:00
lib sh: always link in helper functions extracted from libgcc 2013-12-18 19:04:51 -08:00
lib64
math-emu
mm mm: use pgdat_end_pfn() to simplify the code in arch 2013-11-13 12:09:03 +09:00
oprofile
tools
Kconfig Kconfig: update flightly outdated CONFIG_SMP documentation 2014-01-23 16:37:01 -08:00
Kconfig.cpu arch/sh: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:43:13 -08:00
Kconfig.debug
Makefile stackprotector: Unify the HAVE_CC_STACKPROTECTOR logic between architectures 2013-12-20 09:38:40 +01:00