net/nfnetlink: lockdep_nfnl_is_held can be boolean
authorYaowei Bai <bywxiaobai@163.com>
Thu, 8 Oct 2015 13:28:56 +0000 (21:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:49:00 +0000 (07:49 -0700)
commit875e08294911b3cb8c60416d64d990809421de29
tree783771876254d8abbc4f8f906a50c6dd9347d893
parent35498edc6481d588feadee7e76220884d5bbca48
net/nfnetlink: lockdep_nfnl_is_held can be boolean

This patch makes lockdep_nfnl_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/netfilter/nfnetlink.h
net/netfilter/nfnetlink.c