]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Use bool value directly
authorNicholas Mc Guire <der.herr@hofr.at>
Sat, 25 Mar 2017 19:46:01 +0000 (20:46 +0100)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 19 Apr 2017 16:29:19 +0000 (09:29 -0700)
commit676870169362928763411413a6d7f17e635aa17f
tree5a9e315d21a60bca497c0ddd9e628efe71b41c12
parent466626674de5f193eeffab479c9252de2feefc0d
rcu: Use bool value directly

The beenonline variable is declared bool so there is no need for an
explicit comparison, especially not against the constant zero.

Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c