diff options
author | phk <phk@FreeBSD.org> | 2003-05-31 19:58:45 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-31 19:58:45 +0000 |
commit | 5616e3ef83e0c095d11dd0d65c9ad8776ae1c32b (patch) | |
tree | 212e4b27c2f61a6defdfeda25d106d7801a2514e /sys/pci/if_ste.c | |
parent | 7525d5ae8789887dfac0f69fd2ce809daf155f53 (diff) | |
download | FreeBSD-src-5616e3ef83e0c095d11dd0d65c9ad8776ae1c32b.zip FreeBSD-src-5616e3ef83e0c095d11dd0d65c9ad8776ae1c32b.tar.gz |
Remove unused variables.
Found by: FlexeLint
Diffstat (limited to 'sys/pci/if_ste.c')
-rw-r--r-- | sys/pci/if_ste.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c index 1377c45..94efbef 100644 --- a/sys/pci/if_ste.c +++ b/sys/pci/if_ste.c @@ -1226,12 +1226,10 @@ ste_init(xsc) struct ste_softc *sc; int i; struct ifnet *ifp; - struct mii_data *mii; sc = xsc; STE_LOCK(sc); ifp = &sc->arpcom.ac_if; - mii = device_get_softc(sc->ste_miibus); ste_stop(sc); @@ -1475,7 +1473,6 @@ ste_encap(sc, c, m_head) struct ste_frag *f = NULL; struct mbuf *m; struct ste_desc *d; - int total_len = 0; d = c->ste_ptr; d->ste_ctl = 0; @@ -1485,7 +1482,6 @@ encap_retry: if (m->m_len != 0) { if (frag == STE_MAXFRAGS) break; - total_len += m->m_len; f = &d->ste_frags[frag]; f->ste_addr = vtophys(mtod(m, vm_offset_t)); f->ste_len = m->m_len; |