Commit dee84779 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

ipv6: fib6: Avoid comma separated statements

Use semicolons and braces.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ac937e1f
...@@ -1812,10 +1812,14 @@ static struct fib6_node *fib6_repair_tree(struct net *net, ...@@ -1812,10 +1812,14 @@ static struct fib6_node *fib6_repair_tree(struct net *net,
children = 0; children = 0;
child = NULL; child = NULL;
if (fn_r) if (fn_r) {
child = fn_r, children |= 1; child = fn_r;
if (fn_l) children |= 1;
child = fn_l, children |= 2; }
if (fn_l) {
child = fn_l;
children |= 2;
}
if (children == 3 || FIB6_SUBTREE(fn) if (children == 3 || FIB6_SUBTREE(fn)
#ifdef CONFIG_IPV6_SUBTREES #ifdef CONFIG_IPV6_SUBTREES
......
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