s390/unwind: drop unnecessary code around calling ftrace_graph_ret_addr()
authorMiroslav Benes <mbenes@suse.cz>
Tue, 29 Oct 2019 14:39:02 +0000 (15:39 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 5 Nov 2019 11:30:15 +0000 (12:30 +0100)
commitc2f2093e149d3109f1457deac4909191d9aca323
tree105422ac0d0461456665843cf0db280166f0d73d
parenteffb83ccc83a97dbbe5214f4c443522719f05f3a
s390/unwind: drop unnecessary code around calling ftrace_graph_ret_addr()

The current code around calling ftrace_graph_ret_addr() is ifdeffed and
also tests if ftrace redirection is present on stack.
ftrace_graph_ret_addr() however performs the test internally and there
is a version for !CONFIG_FUNCTION_GRAPH_TRACER as well. The unnecessary
code can thus be dropped.

Link: http://lkml.kernel.org/r/20191029143904.24051-2-mbenes@suse.cz
Signed-off-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/unwind_bc.c