svn commit: r258671 - user/ae/inet6/sys/netipsec
Andrey V. Elsukov
ae at FreeBSD.org
Wed Nov 27 04:34:44 UTC 2013
Author: ae
Date: Wed Nov 27 04:34:44 2013
New Revision: 258671
URL: http://svnweb.freebsd.org/changeset/base/258671
Log:
Remove now unused variable.
Modified:
user/ae/inet6/sys/netipsec/xform_ipip.c
Modified: user/ae/inet6/sys/netipsec/xform_ipip.c
==============================================================================
--- user/ae/inet6/sys/netipsec/xform_ipip.c Wed Nov 27 04:31:01 2013 (r258670)
+++ user/ae/inet6/sys/netipsec/xform_ipip.c Wed Nov 27 04:34:44 2013 (r258671)
@@ -426,7 +426,7 @@ ipip_output(
struct ip *ipo;
#endif /* INET */
#ifdef INET6
- struct ip6_hdr *ip6, *ip6o;
+ struct ip6_hdr *ip6o;
#endif /* INET6 */
sav = isr->sav;
@@ -534,8 +534,6 @@ ipip_output(
goto bad;
}
- /* scoped address handling */
- ip6 = mtod(m, struct ip6_hdr *);
M_PREPEND(m, sizeof(struct ip6_hdr), M_NOWAIT);
if (m == 0) {
DPRINTF(("%s: M_PREPEND failed\n", __func__));
More information about the svn-src-user
mailing list