Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2014 06:40:11 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264582 - head/sys/netinet6
Message-ID:  <201404170640.s3H6eBXW082126@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404170640.s3H6eBXW082126>