aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/wb
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2017-05-17 00:34:34 +0000
committerEd Maste <emaste@FreeBSD.org>2017-05-17 00:34:34 +0000
commit3e85b721d653d65a5b6ff655ed1551113f0e0d5b (patch)
tree9f2b92961a0e2680de78b6f1c653a05926cbf817 /sys/dev/wb
parent00f6cd3f568295e501deae63e38b34d1137a6eb9 (diff)
Remove register keyword from sys/ and ANSIfy prototypes
A long long time ago the register keyword told the compiler to store the corresponding variable in a CPU register, but it is not relevant for any compiler used in the FreeBSD world today. ANSIfy related prototypes while here. Reviewed by: cem, jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D10193
Notes
svn path=/head/; revision=318389
Diffstat (limited to 'sys/dev/wb')
-rw-r--r--sys/dev/wb/if_wb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/wb/if_wb.c b/sys/dev/wb/if_wb.c
index 4215d9e6aa71..ca66226dd898 100644
--- a/sys/dev/wb/if_wb.c
+++ b/sys/dev/wb/if_wb.c
@@ -256,7 +256,7 @@ wb_eeprom_putbyte(sc, addr)
struct wb_softc *sc;
int addr;
{
- register int d, i;
+ int d, i;
d = addr | WB_EECMD_READ;
@@ -286,7 +286,7 @@ wb_eeprom_getword(sc, addr, dest)
int addr;
u_int16_t *dest;
{
- register int i;
+ int i;
u_int16_t word = 0;
/* Enter EEPROM access mode. */
@@ -507,7 +507,7 @@ static void
wb_reset(sc)
struct wb_softc *sc;
{
- register int i;
+ int i;
struct mii_data *mii;
struct mii_softc *miisc;
@@ -1574,7 +1574,7 @@ static void
wb_stop(sc)
struct wb_softc *sc;
{
- register int i;
+ int i;
struct ifnet *ifp;
WB_LOCK_ASSERT(sc);