Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 23:42:36 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r295388 - stable/10/sys/netinet
Message-ID:  <201602072342.u17NgaT3059668@repo.freebsd.org>

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



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