Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a06b494b authored by Gui Jianfeng's avatar Gui Jianfeng Committed by David S. Miller
Browse files

[IPV6]: Remove useless code from fib6_del_route().



There are useless codes in fib6_del_route(). The following patch has
been tested, every thing looks fine, as usual.

Signed-off-by: default avatarGui Jianfeng <guijianfeng@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f6243579
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1126,9 +1126,6 @@ static void fib6_del_route(struct fib6_node *fn, struct rt6_info **rtp,

	rt->u.dst.rt6_next = NULL;

	if (fn->leaf == NULL && fn->fn_flags&RTN_TL_ROOT)
		fn->leaf = &ip6_null_entry;

	/* If it was last route, expunge its radix tree node */
	if (fn->leaf == NULL) {
		fn->fn_flags &= ~RTN_RTINFO;