svn commit: r213837 - head/sys/netipsec
Bjoern A. Zeeb
bz at FreeBSD.org
Thu Oct 14 15:15:22 UTC 2010
Author: bz
Date: Thu Oct 14 15:15:22 2010
New Revision: 213837
URL: http://svn.freebsd.org/changeset/base/213837
Log:
Remove dead code:
assignment to a local variable not used anywhere after that.
MFC after: 3 days
Modified:
head/sys/netipsec/ipsec_output.c
Modified: head/sys/netipsec/ipsec_output.c
==============================================================================
--- head/sys/netipsec/ipsec_output.c Thu Oct 14 14:49:49 2010 (r213836)
+++ head/sys/netipsec/ipsec_output.c Thu Oct 14 15:15:22 2010 (r213837)
@@ -853,10 +853,8 @@ ipsec6_output_tunnel(struct ipsec_output
}
/* 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);
More information about the svn-src-all
mailing list