Date: Thu, 21 Jan 2016 17:25:41 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r294514 - head/sys/netinet Message-ID: <201601211725.u0LHPf4T011894@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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(); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601211725.u0LHPf4T011894>