Date: Fri, 8 Jan 2016 02:59:56 +0000 (UTC) From: Marcelo Araujo <araujo@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: r293411 - stable/10/sys/net Message-ID: <201601080259.u082xuKp055728@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: araujo Date: Fri Jan 8 02:59:56 2016 New Revision: 293411 URL: https://svnweb.freebsd.org/changeset/base/293411 Log: MFC: r292980 Clean up unused-but-set-variable spotted by gcc4.9. Reviewed by: ngie Approved by: rodrigc (mentor) Sponsored by: gandi.net Differential Revision: https://reviews.freebsd.org/D4774 Modified: stable/10/sys/net/if_gif.c Modified: stable/10/sys/net/if_gif.c ============================================================================== --- stable/10/sys/net/if_gif.c Fri Jan 8 02:58:10 2016 (r293410) +++ stable/10/sys/net/if_gif.c Fri Jan 8 02:59:56 2016 (r293411) @@ -527,7 +527,6 @@ gif_input(struct mbuf *m, struct ifnet * struct gif_softc *sc; struct ether_header *eh; struct ifnet *oldifp; - uint32_t gif_options; int isr, n, af; if (ifp == NULL) { @@ -536,7 +535,6 @@ gif_input(struct mbuf *m, struct ifnet * return; } sc = ifp->if_softc; - gif_options = sc->gif_options; m->m_pkthdr.rcvif = ifp; m_clrprotoflags(m); switch (proto) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601080259.u082xuKp055728>