Commit c9efb15a authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by David S. Miller

tipc: bcast: 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>
Acked-by: default avatarYing Xue <ying.xue@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3eac60d1
...@@ -574,5 +574,5 @@ void tipc_nlist_purge(struct tipc_nlist *nl) ...@@ -574,5 +574,5 @@ void tipc_nlist_purge(struct tipc_nlist *nl)
{ {
tipc_dest_list_purge(&nl->list); tipc_dest_list_purge(&nl->list);
nl->remote = 0; nl->remote = 0;
nl->local = 0; nl->local = false;
} }
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