summaryrefslogtreecommitdiff
path: root/net/tipc
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2018-03-06 00:56:14 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-07 20:18:00 +0300
commitc9efb15a9981400c797665dc4844ab562ed3c424 (patch)
treea4067a1d6d5c943babe1b969d0885dc68c3470c0 /net/tipc
parent3eac60d173fa22855895dcef6cd2dc4ca65c2acf (diff)
downloadlinux-c9efb15a9981400c797665dc4844ab562ed3c424.tar.xz
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: Gustavo A. R. Silva <garsilva@embeddedor.com> Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
-rw-r--r--net/tipc/bcast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c
index 37892b3909af..f3711176be45 100644
--- a/net/tipc/bcast.c
+++ b/net/tipc/bcast.c
@@ -574,5 +574,5 @@ void tipc_nlist_purge(struct tipc_nlist *nl)
{
tipc_dest_list_purge(&nl->list);
nl->remote = 0;
- nl->local = 0;
+ nl->local = false;
}