Module Name:    src
Committed By:   tsutsui
Date:           Sun Aug 23 13:41:06 UTC 2009

Modified Files:
        src/sys/dev/mii: rgephy.c

Log Message:
Remove duplicated PHY_READ() against RGEPHY_MII_BMSR
that FreeBSD said a copy/paste error.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/mii/rgephy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/mii/rgephy.c
diff -u src/sys/dev/mii/rgephy.c:1.27 src/sys/dev/mii/rgephy.c:1.28
--- src/sys/dev/mii/rgephy.c:1.27	Tue Apr 28 13:25:17 2009
+++ src/sys/dev/mii/rgephy.c	Sun Aug 23 13:41:06 2009
@@ -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 @@
 	}
 
 	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) {

Reply via email to