diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-05-31 19:58:45 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-05-31 19:58:45 +0000 |
| commit | 9c96882e808b62a7817b4a75592f046f51114b36 (patch) | |
| tree | 212e4b27c2f61a6defdfeda25d106d7801a2514e /sys/pci/if_ste.c | |
| parent | 1000b87f2a47ff0208f158f81ee6fa5b38cca41c (diff) | |
Notes
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 1377c459bf1e..94efbef8e012 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; |
