Author: bz
Date: Thu Jan 21 17:25:41 2016
New Revision: 294514
URL: https://svnweb.freebsd.org/changeset/base/294514

Log:
  The variable is write once only and not used.
  Recover the vertical space.
  
  Sponsored by:         The FreeBSD Foundation
  MFC After:            3 days
  Obtained from:                p4 CH=180830
  Reviewed by:          gnn, hiren
  Differential Revision:        https://reviews.freebsd.org/D4898

Modified:
  head/sys/netinet/igmp.c

Modified: head/sys/netinet/igmp.c
==============================================================================
--- head/sys/netinet/igmp.c     Thu Jan 21 17:09:38 2016        (r294513)
+++ head/sys/netinet/igmp.c     Thu Jan 21 17:25:41 2016        (r294514)
@@ -659,16 +659,12 @@ igmp_ifdetach(struct ifnet *ifp)
 void
 igmp_domifdetach(struct ifnet *ifp)
 {
-       struct igmp_ifsoftc *igi;
 
        CTR3(KTR_IGMPV3, "%s: called for ifp %p(%s)",
            __func__, ifp, ifp->if_xname);
 
        IGMP_LOCK();
-
-       igi = ((struct in_ifinfo *)ifp->if_afdata[AF_INET])->ii_igmp;
        igi_delete_locked(ifp);
-
        IGMP_UNLOCK();
 }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to