From 7ff23ffda7218293b8d478431a47d5bc98d3620f Mon Sep 17 00:00:00 2001 From: bz Date: Thu, 14 Oct 2010 15:15:22 +0000 Subject: Remove dead code: assignment to a local variable not used anywhere after that. MFC after: 3 days --- sys/netipsec/ipsec_output.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys') diff --git a/sys/netipsec/ipsec_output.c b/sys/netipsec/ipsec_output.c index 52c990e..2701796 100644 --- a/sys/netipsec/ipsec_output.c +++ b/sys/netipsec/ipsec_output.c @@ -853,10 +853,8 @@ ipsec6_output_tunnel(struct ipsec_output_state *state, struct secpolicy *sp, int } /* adjust state->dst if tunnel endpoint is offlink */ - if (state->ro->ro_rt->rt_flags & RTF_GATEWAY) { + if (state->ro->ro_rt->rt_flags & RTF_GATEWAY) state->dst = (struct sockaddr *)state->ro->ro_rt->rt_gateway; - dst6 = (struct sockaddr_in6 *)state->dst; - } } m = ipsec6_splithdr(m); -- cgit v1.1