From 94eabd9f66c681090055dbbf9593464871148f84 Mon Sep 17 00:00:00 2001 From: ae Date: Thu, 24 Apr 2014 11:12:53 +0000 Subject: MFC r264582: Remove unused variable. PR: 173521 --- sys/netinet6/ip6_input.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sys/netinet6') 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); -- cgit v1.1