summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2014-04-24 11:12:53 +0000
committerae <ae@FreeBSD.org>2014-04-24 11:12:53 +0000
commit94eabd9f66c681090055dbbf9593464871148f84 (patch)
treea61b9a26ca027357393fd3ef65289f515b3f3e62
parent95bfeaca5a2cf6e461248108b7bb393d1b9daff3 (diff)
downloadFreeBSD-src-94eabd9f66c681090055dbbf9593464871148f84.zip
FreeBSD-src-94eabd9f66c681090055dbbf9593464871148f84.tar.gz
MFC r264582:
Remove unused variable. PR: 173521
-rw-r--r--sys/netinet6/ip6_input.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index 12249db..7d09696 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1074,7 +1074,6 @@ ip6_hopopts_input(u_int32_t *plenp, u_int32_t *rtalertp,
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_int32_t *rtalertp,
#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);
OpenPOWER on IntegriCloud