Date: Sun, 17 Oct 2010 08:44:34 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r213946 - stable/7/sys/netipsec Message-ID: <201010170844.o9H8iYXF010826@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Sun Oct 17 08:44:34 2010 New Revision: 213946 URL: http://svn.freebsd.org/changeset/base/213946 Log: MFC r213837: Remove dead code: assignment to a local variable not used anywhere after that. Modified: stable/7/sys/netipsec/ipsec_output.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/netipsec/ipsec_output.c ============================================================================== --- stable/7/sys/netipsec/ipsec_output.c Sun Oct 17 07:11:40 2010 (r213945) +++ stable/7/sys/netipsec/ipsec_output.c Sun Oct 17 08:44:34 2010 (r213946) @@ -797,10 +797,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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010170844.o9H8iYXF010826>