mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Remove unused variable mii.
This variable is initialized but not used.
This commit is contained in:
parent
4d8b94d278
commit
87ba494b0e
1 changed files with 0 additions and 2 deletions
|
|
@ -1984,7 +1984,6 @@ static void
|
|||
sf_init_locked(struct sf_softc *sc)
|
||||
{
|
||||
struct ifnet *ifp;
|
||||
struct mii_data *mii;
|
||||
uint8_t eaddr[ETHER_ADDR_LEN];
|
||||
bus_addr_t addr;
|
||||
int i;
|
||||
|
|
@ -1993,7 +1992,6 @@ sf_init_locked(struct sf_softc *sc)
|
|||
ifp = sc->sf_ifp;
|
||||
if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0)
|
||||
return;
|
||||
mii = device_get_softc(sc->sf_miibus);
|
||||
|
||||
sf_stop(sc);
|
||||
/* Reset the hardware to a known state. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue