Date: Wed, 23 Nov 2011 05:34:01 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r227871 - head/sys/dev/vte Message-ID: <201111230534.pAN5Y1fB027228@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevlo Date: Wed Nov 23 05:34:01 2011 New Revision: 227871 URL: http://svn.freebsd.org/changeset/base/227871 Log: Remove unused variable mii. This variable is initialized but not used. Reviewed by: yongari Modified: head/sys/dev/vte/if_vte.c Modified: head/sys/dev/vte/if_vte.c ============================================================================== --- head/sys/dev/vte/if_vte.c Wed Nov 23 05:03:27 2011 (r227870) +++ head/sys/dev/vte/if_vte.c Wed Nov 23 05:34:01 2011 (r227871) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111230534.pAN5Y1fB027228>