diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2018-03-05 15:49:59 -0600 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2018-03-07 10:55:13 +0100 |
commit | 415a13296a1a49639cabf9d2fe92267810caa47a (patch) | |
tree | 4fed6cc68c736cf82df52dd4c1c2af103f451585 /net/xfrm | |
parent | 5211fcfb8110f77ff9f389e476563345817f61a5 (diff) |
xfrm_policy: use true and false for boolean values
Assign true or false to boolean variables instead of an integer value.
This issue was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 12bd415d349e..2b7babb66175 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c @@ -1740,7 +1740,7 @@ static void xfrm_pcpu_work_fn(struct work_struct *work) void xfrm_policy_cache_flush(void) { struct xfrm_dst *old; - bool found = 0; + bool found = false; int cpu; might_sleep(); |