Browse Source

xfrm: No need to copy generic neighbour pointer.

Nobody reads it any longer.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 13 years ago
parent
commit
d1e31fb02b
1 changed files with 0 additions and 3 deletions
  1. 0 3
      net/xfrm/xfrm_policy.c

+ 0 - 3
net/xfrm/xfrm_policy.c

@@ -1500,9 +1500,6 @@ static struct dst_entry *xfrm_bundle_create(struct xfrm_policy *policy,
 	if (!dev)
 	if (!dev)
 		goto free_dst;
 		goto free_dst;
 
 
-	/* Copy neighbour for reachability confirmation */
-	dst_set_neighbour(dst0, neigh_clone(dst_get_neighbour_noref(dst)));
-
 	xfrm_init_path((struct xfrm_dst *)dst0, dst, nfheader_len);
 	xfrm_init_path((struct xfrm_dst *)dst0, dst, nfheader_len);
 	xfrm_init_pmtu(dst_prev);
 	xfrm_init_pmtu(dst_prev);