diff options
author | Wei Yang <richard.weiyang@linux.alibaba.com> | 2020-08-31 11:11:01 +0800 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-10-08 15:29:06 -0400 |
commit | 02dae28f0b542969e44cbc1e14ffc9944cd2975c (patch) | |
tree | 77bd99fb25e86fa13eb2e913f6ec75407195963f /lib/mpi/mpi-add.c | |
parent | be49313273211c47d1b317d6b2dbe02637c2794c (diff) |
ftrace: Simplify the dyn_ftrace->flags macro
All the three macro are defined to be used for ftrace_rec_count(). This
can be achieved by (flags & FTRACE_REF_MAX) directly.
Since no other places would use those macros, remove them for clarity.
Also it fixes a typo in the comment.
Link: https://lkml.kernel.org/r/20200831031104.23322-4-richard.weiyang@linux.alibaba.com
Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions