diff options
author | Yaowei Bai <bywxiaobai@163.com> | 2015-09-29 16:43:35 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-11-02 20:26:51 +0100 |
commit | 907bff917a659a8e50e285dc42ef51d7eaba6e62 (patch) | |
tree | cae4b9675bd7836fd8f085ef06367baa189f3bb6 /kernel/trace/trace_export.c | |
parent | ring-buffer: rb_event_is_commit() can return boolean (diff) | |
download | linux-907bff917a659a8e50e285dc42ef51d7eaba6e62.tar.xz linux-907bff917a659a8e50e285dc42ef51d7eaba6e62.zip |
tracing: is_legal_op() can return boolean
Make is_legal_op() return bool to improve readability due to this particular
function only using either one or zero as its return value.
No functional change.
Link: http://lkml.kernel.org/r/1443537816-5788-8-git-send-email-bywxiaobai@163.com
Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_export.c')
0 files changed, 0 insertions, 0 deletions