diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2009-08-23 13:41:06 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2009-08-23 13:41:06 +0000 |
| commit | 0e2d8f9be7b379397a611bf2bda63ca3fdc8f3ef (patch) | |
| tree | 7dc077774c9e7d86382cb76ee3b00b50d38f4df9 /sys/dev | |
| parent | cadbb829283f62b2946bda2452e3a53688d8e03e (diff) | |
Remove duplicated PHY_READ() against RGEPHY_MII_BMSR
that FreeBSD said a copy/paste error.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/mii/rgephy.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/mii/rgephy.c b/sys/dev/mii/rgephy.c index bba98a17cef..7c5c2805fb8 100644 --- a/sys/dev/mii/rgephy.c +++ b/sys/dev/mii/rgephy.c @@ -1,4 +1,4 @@ -/* $NetBSD: rgephy.c,v 1.27 2009/04/28 13:25:17 tsutsui Exp $ */ +/* $NetBSD: rgephy.c,v 1.28 2009/08/23 13:41:06 tsutsui Exp $ */ /* * Copyright (c) 2003 @@ -33,7 +33,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rgephy.c,v 1.27 2009/04/28 13:25:17 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rgephy.c,v 1.28 2009/08/23 13:41:06 tsutsui Exp $"); /* @@ -367,7 +367,6 @@ rgephy_status(struct mii_softc *sc) } bmsr = PHY_READ(sc, RGEPHY_MII_BMSR); - bmsr = PHY_READ(sc, RGEPHY_MII_BMSR); bmcr = PHY_READ(sc, RGEPHY_MII_BMCR); if ((bmcr & RGEPHY_BMCR_ISO) != 0) { |
