mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-01 06:04:51 +00:00
Remove unused variable mii.
This variable is initialized but not used. Reviewed by: yongari
This commit is contained in:
parent
317d14cf46
commit
c2c400aca1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227871
|
@ -1621,14 +1621,12 @@ static void
|
||||||
vte_init_locked(struct vte_softc *sc)
|
vte_init_locked(struct vte_softc *sc)
|
||||||
{
|
{
|
||||||
struct ifnet *ifp;
|
struct ifnet *ifp;
|
||||||
struct mii_data *mii;
|
|
||||||
bus_addr_t paddr;
|
bus_addr_t paddr;
|
||||||
uint8_t *eaddr;
|
uint8_t *eaddr;
|
||||||
|
|
||||||
VTE_LOCK_ASSERT(sc);
|
VTE_LOCK_ASSERT(sc);
|
||||||
|
|
||||||
ifp = sc->vte_ifp;
|
ifp = sc->vte_ifp;
|
||||||
mii = device_get_softc(sc->vte_miibus);
|
|
||||||
|
|
||||||
if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0)
|
if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue