Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2009 06:05:50 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192289 - head/sys/dev/nge
Message-ID:  <200905180605.n4I65oVp051424@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Mon May 18 06:05:50 2009
New Revision: 192289
URL: http://svn.freebsd.org/changeset/base/192289

Log:
  Remove register keyword.

Modified:
  head/sys/dev/nge/if_nge.c

Modified: head/sys/dev/nge/if_nge.c
==============================================================================
--- head/sys/dev/nge/if_nge.c	Mon May 18 06:02:54 2009	(r192288)
+++ head/sys/dev/nge/if_nge.c	Mon May 18 06:05:50 2009	(r192289)
@@ -257,7 +257,7 @@ nge_delay(struct nge_softc *sc)
 static void
 nge_eeprom_idle(struct nge_softc *sc)
 {
-	register int		i;
+	int			i;
 
 	SIO_SET(NGE_MEAR_EE_CSEL);
 	nge_delay(sc);
@@ -286,7 +286,7 @@ nge_eeprom_idle(struct nge_softc *sc)
 static void
 nge_eeprom_putbyte(struct nge_softc *sc, int addr)
 {
-	register int		d, i;
+	int			d, i;
 
 	d = addr | NGE_EECMD_READ;
 
@@ -315,7 +315,7 @@ nge_eeprom_putbyte(struct nge_softc *sc,
 static void
 nge_eeprom_getword(struct nge_softc *sc, int addr, u_int16_t *dest)
 {
-	register int		i;
+	int			i;
 	u_int16_t		word = 0;
 
 	/* Force EEPROM to idle state. */
@@ -381,7 +381,7 @@ nge_read_eeprom(struct nge_softc *sc, ca
 static void
 nge_mii_sync(struct nge_softc *sc)
 {
-	register int		i;
+	int			i;
 
 	SIO_SET(NGE_MEAR_MII_DIR|NGE_MEAR_MII_DATA);
 
@@ -702,7 +702,7 @@ nge_setmulti(struct nge_softc *sc)
 static void
 nge_reset(struct nge_softc *sc)
 {
-	register int		i;
+	int			i;
 
 	NGE_SETBIT(sc, NGE_CSR, NGE_CSR_RESET);
 
@@ -2043,7 +2043,7 @@ nge_watchdog(struct ifnet *ifp)
 static void
 nge_stop(struct nge_softc *sc)
 {
-	register int		i;
+	int			i;
 	struct ifnet		*ifp;
 	struct mii_data		*mii;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905180605.n4I65oVp051424>