svn commit: r295388 - stable/10/sys/netinet

Bjoern A. Zeeb bz at FreeBSD.org
Sun Feb 7 23:42:37 UTC 2016


Author: bz
Date: Sun Feb  7 23:42:36 2016
New Revision: 295388
URL: https://svnweb.freebsd.org/changeset/base/295388

Log:
  MFC r294514:
  
    The variable is write once only and not used.
    Recover the vertical space.
  
    Sponsored by:         The FreeBSD Foundation
    Obtained from:        p4 CH=180830
    Reviewed by:          gnn, hiren
    Differential Revision:https://reviews.freebsd.org/D4898
  
  Approved by:		re (marius, gjb)

Modified:
  stable/10/sys/netinet/igmp.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet/igmp.c
==============================================================================
--- stable/10/sys/netinet/igmp.c	Sun Feb  7 23:20:44 2016	(r295387)
+++ stable/10/sys/netinet/igmp.c	Sun Feb  7 23:42:36 2016	(r295388)
@@ -654,16 +654,12 @@ igmp_ifdetach(struct ifnet *ifp)
 void
 igmp_domifdetach(struct ifnet *ifp)
 {
-	struct igmp_ifinfo *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();
 }
 


More information about the svn-src-all mailing list