ftrace: Remove unused varible 'ret'
authorAlex Shi <alex.shi@linux.alibaba.com>
Fri, 6 Nov 2020 14:54:46 +0000 (22:54 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 11 Nov 2020 01:39:40 +0000 (20:39 -0500)
commit045e269c1eb2db5b5df9e034af617af8f4c1b35c
treea2e726f9d75d27e7faa832268b5cef5ff3679521
parent28575c61ea602537a3d86fe301a53554e59452ae
ftrace: Remove unused varible 'ret'

'ret' in 2 functions are not used. and one of them is a void function.
So remove them to avoid gcc warning:
kernel/trace/ftrace.c:4166:6: warning: variable ‘ret’ set but not used
[-Wunused-but-set-variable]
kernel/trace/ftrace.c:5571:6: warning: variable ‘ret’ set but not used
[-Wunused-but-set-variable]

Link: https://lkml.kernel.org/r/1604674486-52350-1-git-send-email-alex.shi@linux.alibaba.com
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c