diff options
author | kevlo <kevlo@FreeBSD.org> | 2011-11-23 05:34:01 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2011-11-23 05:34:01 +0000 |
commit | 129fabf7506e156896e63540773131c698937026 (patch) | |
tree | 3f077e1494825e61577211ac69d035cc66d0fba3 /sys/dev | |
parent | 3e2c6685d027735dc0216eccb20c8f9192ccd6a7 (diff) | |
download | FreeBSD-src-129fabf7506e156896e63540773131c698937026.zip FreeBSD-src-129fabf7506e156896e63540773131c698937026.tar.gz |
Remove unused variable mii.
This variable is initialized but not used.
Reviewed by: yongari
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/vte/if_vte.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/vte/if_vte.c b/sys/dev/vte/if_vte.c index 591c09d..7865ff2 100644 --- a/sys/dev/vte/if_vte.c +++ b/sys/dev/vte/if_vte.c @@ -1621,14 +1621,12 @@ static void vte_init_locked(struct vte_softc *sc) { struct ifnet *ifp; - struct mii_data *mii; bus_addr_t paddr; uint8_t *eaddr; VTE_LOCK_ASSERT(sc); ifp = sc->vte_ifp; - mii = device_get_softc(sc->vte_miibus); if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) return; |