Date: Thu, 31 Dec 2015 07:03:41 +0000 (UTC) From: Marcelo Araujo <araujo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r292980 - head/sys/net Message-ID: <201512310703.tBV73fqr096124@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: araujo Date: Thu Dec 31 07:03:41 2015 New Revision: 292980 URL: https://svnweb.freebsd.org/changeset/base/292980 Log: Clean up unused-but-set-variable spotted by gcc4.9. Reviewed by: ngie Approved by: rodrigc (mentor) Differential Revision: https://reviews.freebsd.org/D4719 Modified: head/sys/net/if_gif.c Modified: head/sys/net/if_gif.c ============================================================================== --- head/sys/net/if_gif.c Thu Dec 31 06:01:07 2015 (r292979) +++ head/sys/net/if_gif.c Thu Dec 31 07:03:41 2015 (r292980) @@ -529,7 +529,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) { @@ -538,7 +537,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?201512310703.tBV73fqr096124>