Searched hist:52350 (Results 1 - 1 of 1) sorted by relevance

/linux-master/kernel/trace/
H A Dftrace.cdiff 045e269c Fri Nov 06 07:54:46 MST 2020 Alex Shi <alex.shi@linux.alibaba.com> 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>

Completed in 213 milliseconds