svn commit: r231510 - head/sys/dev/vge
Kevin Lo
kevlo at FreeBSD.org
Sat Feb 11 08:12:53 UTC 2012
Author: kevlo
Date: Sat Feb 11 08:12:52 2012
New Revision: 231510
URL: http://svn.freebsd.org/changeset/base/231510
Log:
Remove unused variable mii
Modified:
head/sys/dev/vge/if_vge.c
Modified: head/sys/dev/vge/if_vge.c
==============================================================================
--- head/sys/dev/vge/if_vge.c Sat Feb 11 07:47:06 2012 (r231509)
+++ head/sys/dev/vge/if_vge.c Sat Feb 11 08:12:52 2012 (r231510)
@@ -2022,11 +2022,9 @@ static void
vge_init_locked(struct vge_softc *sc)
{
struct ifnet *ifp = sc->vge_ifp;
- struct mii_data *mii;
int error, i;
VGE_LOCK_ASSERT(sc);
- mii = device_get_softc(sc->vge_miibus);
if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0)
return;
More information about the svn-src-head
mailing list