[PATCH 9/9] net/core: lockdep_rtnl_is_held can be boolean

2015-10-08 Thread Yaowei Bai
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 --- include/linux/rtnetlink.h | 6 +++---

[PATCH 9/9] net/core: lockdep_rtnl_is_held can be boolean

2015-10-08 Thread Yaowei Bai
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 --- include/linux/rtnetlink.h | 6