net/netlink: lockdep_genl_is_held can be boolean
authorYaowei Bai <bywxiaobai@163.com>
Thu, 8 Oct 2015 13:28:54 +0000 (21:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:48:59 +0000 (07:48 -0700)
commit61d03535e4be3a46c1e171a25458237e343195e3
treebb15489d3229944346f8299373a79c275eb423b1
parent8cec75bd85cc26f81e85eb20e863cc564d354113
net/netlink: lockdep_genl_is_held can be boolean

This patch makes lockdep_genl_is_held return bool to improve
readability due to this particular function only using either
one or zero as its return value.

No functional change.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/genetlink.h
net/netlink/genetlink.c