svn commit: r264582 - head/sys/netinet6
Andrey V. Elsukov
ae at FreeBSD.org
Thu Apr 17 06:40:11 UTC 2014
Author: ae
Date: Thu Apr 17 06:40:11 2014
New Revision: 264582
URL: http://svnweb.freebsd.org/changeset/base/264582
Log:
Remove unused variable.
PR: 173521
MFC after: 1 week
Sponsored by: Yandex LLC
Modified:
head/sys/netinet6/ip6_input.c
Modified: head/sys/netinet6/ip6_input.c
==============================================================================
--- head/sys/netinet6/ip6_input.c Thu Apr 17 01:43:15 2014 (r264581)
+++ head/sys/netinet6/ip6_input.c Thu Apr 17 06:40:11 2014 (r264582)
@@ -1076,7 +1076,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
@@ -1103,8 +1102,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