From aa8badda289cad9068c531336e849a90a1f70f37 Mon Sep 17 00:00:00 2001 From: brueffer Date: Sat, 31 May 2014 11:08:22 +0000 Subject: MFC: r266270 Remove some unused variables. --- sys/dev/tx/if_tx.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/dev/tx') diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c index 66f5480..7550164 100644 --- a/sys/dev/tx/if_tx.c +++ b/sys/dev/tx/if_tx.c @@ -1150,12 +1150,10 @@ epic_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr) { epic_softc_t *sc; struct mii_data *mii; - struct ifmedia *ifm; sc = ifp->if_softc; mii = device_get_softc(sc->miibus); EPIC_LOCK(sc); - ifm = &mii->mii_media; /* Nothing should be selected if interface is down. */ if ((ifp->if_flags & IFF_UP) == 0) { -- cgit v1.1