Commit 415a1329 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Steffen Klassert

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: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 5211fcfb
...@@ -1740,7 +1740,7 @@ static void xfrm_pcpu_work_fn(struct work_struct *work) ...@@ -1740,7 +1740,7 @@ static void xfrm_pcpu_work_fn(struct work_struct *work)
void xfrm_policy_cache_flush(void) void xfrm_policy_cache_flush(void)
{ {
struct xfrm_dst *old; struct xfrm_dst *old;
bool found = 0; bool found = false;
int cpu; int cpu;
might_sleep(); might_sleep();
......
Markdown is supported
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