diff options
author | brueffer <brueffer@FreeBSD.org> | 2014-05-31 11:08:22 +0000 |
---|---|---|
committer | brueffer <brueffer@FreeBSD.org> | 2014-05-31 11:08:22 +0000 |
commit | aa8badda289cad9068c531336e849a90a1f70f37 (patch) | |
tree | 18016b48481338d96063c9a697df18edd52fb1e1 /sys/dev/tx | |
parent | 2cd37748cf310c4ff8e4ab01dd2214e3fe90a9f5 (diff) | |
download | FreeBSD-src-aa8badda289cad9068c531336e849a90a1f70f37.zip FreeBSD-src-aa8badda289cad9068c531336e849a90a1f70f37.tar.gz |
MFC: r266270
Remove some unused variables.
Diffstat (limited to 'sys/dev/tx')
-rw-r--r-- | sys/dev/tx/if_tx.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) { |