summaryrefslogtreecommitdiffstats
path: root/sys/net/if_gif.c
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2016-01-08 02:59:56 +0000
committeraraujo <araujo@FreeBSD.org>2016-01-08 02:59:56 +0000
commit97dfaa41167ac5dde132639f03d67fc1efb157be (patch)
tree10e1900e04a2d83e4ff6ced6ae6007172283aa1f /sys/net/if_gif.c
parent9f419b5317a16ffb5a8e65dd2a5fed5fd25582c6 (diff)
downloadFreeBSD-src-97dfaa41167ac5dde132639f03d67fc1efb157be.zip
FreeBSD-src-97dfaa41167ac5dde132639f03d67fc1efb157be.tar.gz
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
Diffstat (limited to 'sys/net/if_gif.c')
-rw-r--r--sys/net/if_gif.c2
1 files changed, 0 insertions, 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) {
OpenPOWER on IntegriCloud