Skip to content
Commit 875e0829 authored by Yaowei Bai's avatar Yaowei Bai Committed by David S. Miller
Browse files

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: default avatarYaowei Bai <bywxiaobai@163.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 35498edc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment