svn commit: r264873 - stable/10/sys/netinet6
Andrey V. Elsukov
ae at FreeBSD.org
Thu Apr 24 11:12:53 UTC 2014
Author: ae
Date: Thu Apr 24 11:12:53 2014
New Revision: 264873
URL: http://svnweb.freebsd.org/changeset/base/264873
Log:
MFC r264582:
Remove unused variable.
PR: 173521
Modified:
stable/10/sys/netinet6/ip6_input.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/netinet6/ip6_input.c
==============================================================================
--- stable/10/sys/netinet6/ip6_input.c Thu Apr 24 10:27:21 2014 (r264872)
+++ stable/10/sys/netinet6/ip6_input.c Thu Apr 24 11:12:53 2014 (r264873)
@@ -1074,7 +1074,6 @@ ip6_hopopts_input(u_int32_t *plenp, u_in
struct mbuf *m = *mp;
int off = *offp, hbhlen;
struct ip6_hbh *hbh;
- u_int8_t *opt;
/* validation of the length of the header */
#ifndef PULLDOWN_TEST
@@ -1101,8 +1100,6 @@ ip6_hopopts_input(u_int32_t *plenp, u_in
#endif
off += hbhlen;
hbhlen -= sizeof(struct ip6_hbh);
- opt = (u_int8_t *)hbh + sizeof(struct ip6_hbh);
-
if (ip6_process_hopopts(m, (u_int8_t *)hbh + sizeof(struct ip6_hbh),
hbhlen, rtalertp, plenp) < 0)
return (-1);
More information about the svn-src-all
mailing list