From 97dfaa41167ac5dde132639f03d67fc1efb157be Mon Sep 17 00:00:00 2001 From: araujo Date: Fri, 8 Jan 2016 02:59:56 +0000 Subject: 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 --- sys/net/if_gif.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index 589fa3f..c2d1b54 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -527,7 +527,6 @@ gif_input(struct mbuf *m, struct ifnet *ifp, int proto, uint8_t ecn) 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 *ifp, int proto, uint8_t ecn) return; } sc = ifp->if_softc; - gif_options = sc->gif_options; m->m_pkthdr.rcvif = ifp; m_clrprotoflags(m); switch (proto) { -- cgit v1.1