Date: Thu, 14 Oct 2010 15:15:22 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r213837 - head/sys/netipsec Message-ID: <201010141515.o9EFFMeO028041@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010141515.o9EFFMeO028041>