mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Clean up unused-but-set-variable spotted by gcc4.9.
Reviewed by: ngie Approved by: rodrigc (mentor) Differential Revision: https://reviews.freebsd.org/D4719
This commit is contained in:
parent
4fb3a8208c
commit
25656def0d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292980
@ -529,7 +529,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) {
|
||||
@ -538,7 +537,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) {
|
||||
|
Loading…
Reference in New Issue
Block a user