Skip to content
Snippets Groups Projects
Commit dee84779 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

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
No related branches found
No related tags found
1 merge request!312camera and mipi fixes wrt power management
......@@ -1812,10 +1812,14 @@ static struct fib6_node *fib6_repair_tree(struct net *net,
children = 0;
child = NULL;
if (fn_r)
child = fn_r, children |= 1;
if (fn_l)
child = fn_l, children |= 2;
if (fn_r) {
child = fn_r;
children |= 1;
}
if (fn_l) {
child = fn_l;
children |= 2;
}
if (children == 3 || FIB6_SUBTREE(fn)
#ifdef CONFIG_IPV6_SUBTREES
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment