[PATCH v1] powerpc/process: Remove unnecessary #ifdef CONFIG_FUNCTION_GRAPH_TRACER

Naveen N. Rao naveen.n.rao at linux.ibm.com
Mon Aug 17 18:05:42 AEST 2020


Christophe Leroy wrote:
> ftrace_graph_ret_addr() is always defined and returns 'ip' when
> CONFIG_FUNCTION GRAPH_TRACER is not set.
> 
> So the #ifdef is not needed, remove it.
> 
> Signed-off-by: Christophe Leroy <christophe.leroy at csgroup.eu>
> ---
>  arch/powerpc/kernel/process.c | 4 ----
>  1 file changed, 4 deletions(-)

LGTM.
Acked-by: Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com>

- Naveen



More information about the Linuxppc-dev mailing list