diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-10-30 17:21:00 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-11-10 20:39:40 -0500 |
commit | 7b68621f8d16689cbb4203aceaca86ffb165f1d0 (patch) | |
tree | dfcd327cd822792877e2b007a9bc079d0ddd94fe /kernel/livepatch/patch.c | |
parent | 60602cb549f1965a7edbc96026760dfb93911fab (diff) | |
download | linux-7b68621f8d16689cbb4203aceaca86ffb165f1d0.tar.bz2 |
ftrace: Clean up the recursion code a bit
In trace_test_and_set_recursion(), current->trace_recursion is placed into a
variable, and that variable should be used for the processing, as there's no
reason to dereference current multiple times.
On trace_clear_recursion(), current->trace_recursion is modified and there's
no reason to copy it over to a variable.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/livepatch/patch.c')
0 files changed, 0 insertions, 0 deletions