diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2017-05-17 00:34:34 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2017-05-17 00:34:34 +0000 |
| commit | 3e85b721d653d65a5b6ff655ed1551113f0e0d5b (patch) | |
| tree | 9f2b92961a0e2680de78b6f1c653a05926cbf817 /sys/dev/xl | |
| parent | 00f6cd3f568295e501deae63e38b34d1137a6eb9 (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/xl')
| -rw-r--r-- | sys/dev/xl/if_xl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/xl/if_xl.c b/sys/dev/xl/if_xl.c index e82fe1c0228e..4c1c238981d1 100644 --- a/sys/dev/xl/if_xl.c +++ b/sys/dev/xl/if_xl.c @@ -353,7 +353,7 @@ xl_dma_map_addr(void *arg, bus_dma_segment_t *segs, int nseg, int error) static void xl_wait(struct xl_softc *sc) { - register int i; + int i; for (i = 0; i < XL_TIMEOUT; i++) { if ((CSR_READ_2(sc, XL_STATUS) & XL_STAT_CMDBUSY) == 0) @@ -836,7 +836,7 @@ xl_setmode(struct xl_softc *sc, int media) static void xl_reset(struct xl_softc *sc) { - register int i; + int i; XL_LOCK_ASSERT(sc); @@ -3153,7 +3153,7 @@ xl_watchdog(struct xl_softc *sc) static void xl_stop(struct xl_softc *sc) { - register int i; + int i; struct ifnet *ifp = sc->xl_ifp; XL_LOCK_ASSERT(sc); |
