net/core: lockdep_rtnl_is_held can be boolean
authorYaowei Bai <bywxiaobai@163.com>
Thu, 8 Oct 2015 13:29:02 +0000 (21:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:49:06 +0000 (07:49 -0700)
commit0cbf334376d5e82d7a2f5cd234ca4f5d0843f3ea
treee6fd3232b0e38cac01154eada278a18bcb234ca2
parentf06cc7b284f3dfb2c5decbf9fde711b50a530050
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>
include/linux/rtnetlink.h
net/core/rtnetlink.c