ring-buffer: rb_event_is_commit() can return boolean
authorYaowei Bai <bywxiaobai@163.com>
Tue, 29 Sep 2015 14:43:34 +0000 (22:43 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 2 Nov 2015 19:25:29 +0000 (14:25 -0500)
commitcdb2a0a91566d413a6e4e2c57c5d341a2e1173f3
tree16899535f658e1f86afe528e83499a24c1e71f1f
parentda58834cf2fa83fe3885753009fecaa49a85f246
ring-buffer: rb_event_is_commit() can return boolean

Make rb_event_is_commit() 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-7-git-send-email-bywxiaobai@163.com
Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer.c