diff options
author | yuan linyu <Linyu.Yuan@alcatel-sbell.com.cn> | 2018-04-08 13:36:31 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-07-04 00:23:33 +0200 |
commit | f26808ba7227a921e0e8549c7d3c52332b920085 (patch) | |
tree | 699f09c2967d89edbcdc522102019240a90c3c0d /lib/fdt_sw.c | |
parent | tracing: Make create_filter() code match the comments (diff) | |
download | linux-f26808ba7227a921e0e8549c7d3c52332b920085.tar.xz linux-f26808ba7227a921e0e8549c7d3c52332b920085.zip |
tracing: Optimize trace_buffer_iter() logic
Simplify and optimize the logic in trace_buffer_iter() to use a conditional
operation instead of an if conditional.
Link: http://lkml.kernel.org/r/20180408113631.3947-1-cugyly@163.com
Signed-off-by: yuan linyu <Linyu.Yuan@alcatel-sbell.com.cn>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'lib/fdt_sw.c')
0 files changed, 0 insertions, 0 deletions