svn commit: r229689 - stable/9/sys/dev/vte
Kevin Lo
kevlo at FreeBSD.org
Fri Jan 6 05:51:01 UTC 2012
Author: kevlo
Date: Fri Jan 6 05:51:00 2012
New Revision: 229689
URL: http://svn.freebsd.org/changeset/base/229689
Log:
MFC r227871:
Remove unused variable mii.
This variable is initialized but not used.
Reviewed by: yongari
Modified:
stable/9/sys/dev/vte/if_vte.c
Modified: stable/9/sys/dev/vte/if_vte.c
==============================================================================
--- stable/9/sys/dev/vte/if_vte.c Fri Jan 6 05:48:52 2012 (r229688)
+++ stable/9/sys/dev/vte/if_vte.c Fri Jan 6 05:51:00 2012 (r229689)
@@ -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;
More information about the svn-src-stable-9
mailing list