From: Gustavo A. R. Silva Date: Mon, 5 Mar 2018 21:56:14 +0000 (-0600) Subject: tipc: bcast: use true and false for boolean values X-Git-Tag: v4.17-rc1~148^2~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9efb15a9981400c797665dc4844ab562ed3c424;p=thirdparty%2Fkernel%2Flinux.git 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 Acked-by: Ying Xue Signed-off-by: David S. Miller --- diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index 37892b3909afc..f3711176be455 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; }