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>
This commit is contained in:
Gustavo A. R. Silva 2018-03-05 15:49:59 -06:00 committed by Steffen Klassert
parent 5211fcfb81
commit 415a13296a
1 changed files with 1 additions and 1 deletions

View File

@ -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();