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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to