Remove unused variable.

PR:		173521
MFC after:	1 week
Sponsored by:	Yandex LLC
This commit is contained in:
Andrey V. Elsukov 2014-04-17 06:40:11 +00:00
parent f77d666207
commit 52c57247d3

View File

@ -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);