diff options
author | Marius Strobl <marius@FreeBSD.org> | 2010-11-14 14:25:04 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2010-11-14 14:25:04 +0000 |
commit | 78102c2f8be1b3a646045bf34fd3ac97b4ee6cec (patch) | |
tree | 0917784f427dbbf794f598be8aa0499f2d9354a2 | |
parent | eb4c31fd41e91a1a9d36616e8e8b4559513ee94b (diff) | |
download | src-78102c2f8be1b3a646045bf34fd3ac97b4ee6cec.tar.gz src-78102c2f8be1b3a646045bf34fd3ac97b4ee6cec.zip |
Remove redundant cases and a style(9) bug.
Notes
Notes:
svn path=/head/; revision=215300
-rw-r--r-- | sys/dev/mii/xmphy.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/mii/xmphy.c b/sys/dev/mii/xmphy.c index 745c7b33718f..d662687a243e 100644 --- a/sys/dev/mii/xmphy.c +++ b/sys/dev/mii/xmphy.c @@ -167,7 +167,7 @@ xmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) if (PHY_READ(sc, XMPHY_MII_BMCR) & XMPHY_BMCR_AUTOEN) return (0); #endif - (void) xmphy_mii_phy_auto(sc); + (void)xmphy_mii_phy_auto(sc); break; case IFM_1000_SX: mii_phy_reset(sc); @@ -179,9 +179,6 @@ xmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) PHY_WRITE(sc, XMPHY_MII_BMCR, 0); } break; - case IFM_100_T4: - case IFM_100_TX: - case IFM_10_T: default: return (EINVAL); } |