diff options
author | phk <phk@FreeBSD.org> | 2003-05-31 19:48:33 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-31 19:48:33 +0000 |
commit | 78fe3fef1aec34c8c496109d7ac5707151339237 (patch) | |
tree | ed84638e105041b0789531650fd00e3fcba04472 /sys/dev/mii/nsgphy.c | |
parent | ed097ecfc23f83e296caeddd50a64ae21fc7f8d4 (diff) | |
download | FreeBSD-src-78fe3fef1aec34c8c496109d7ac5707151339237.zip FreeBSD-src-78fe3fef1aec34c8c496109d7ac5707151339237.tar.gz |
Remove unnecessary breaks.
Remove unused variables.
Add XXX comment where a break may be missing. [lxtphy.c]
Found by: FlexeLint
Diffstat (limited to 'sys/dev/mii/nsgphy.c')
-rw-r--r-- | sys/dev/mii/nsgphy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/mii/nsgphy.c b/sys/dev/mii/nsgphy.c index 01d11f8..81d7cee 100644 --- a/sys/dev/mii/nsgphy.c +++ b/sys/dev/mii/nsgphy.c @@ -132,11 +132,9 @@ nsgphy_attach(device_t dev) struct mii_softc *sc; struct mii_attach_args *ma; struct mii_data *mii; - const struct mii_phydesc *mpd; sc = device_get_softc(dev); ma = device_get_ivars(dev); - mpd = mii_phy_match(ma, gphyters); if (bootverbose) device_printf(dev, "<rev. %d>\n", MII_REV(ma->mii_id2)); device_printf(dev, " "); |