commit | 0cbf334376d5e82d7a2f5cd234ca4f5d0843f3ea | [log] [tgz] |
---|---|---|
author | Yaowei Bai <bywxiaobai@163.com> | Thu Oct 08 21:29:02 2015 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 09 07:49:06 2015 -0700 |
tree | e6fd3232b0e38cac01154eada278a18bcb234ca2 | |
parent | f06cc7b284f3dfb2c5decbf9fde711b50a530050 [diff] |
net/core: lockdep_rtnl_is_held can be boolean This patch makes lockdep_rtnl_is_held return bool due to this particular function only using either one or zero as its return value. In another patch lockdep_is_held is also made return bool. No functional change. Signed-off-by: Yaowei Bai <bywxiaobai@163.com> Signed-off-by: David S. Miller <davem@davemloft.net>