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
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -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