diff options
author | ae <ae@FreeBSD.org> | 2014-04-17 06:40:11 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2014-04-17 06:40:11 +0000 |
commit | 661b8edb018502d7298024839f77517258cbd060 (patch) | |
tree | cbee4770b10f6e5f71e8a3098dce39b12aac6ec6 /sys/netinet6/ip6_input.c | |
parent | 662b8b71370a3fe7eba8880f8f4534db773e64a3 (diff) | |
download | FreeBSD-src-661b8edb018502d7298024839f77517258cbd060.zip FreeBSD-src-661b8edb018502d7298024839f77517258cbd060.tar.gz |
Remove unused variable.
PR: 173521
MFC after: 1 week
Sponsored by: Yandex LLC
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-rw-r--r-- | sys/netinet6/ip6_input.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index 920b9bb..239c950 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -1076,7 +1076,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 @@ -1103,8 +1102,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); |