diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-04-14 03:26:26 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-04-14 03:26:26 +0000 |
commit | fa33e8cf95b060553529ddddf7093ee42294f9cc (patch) | |
tree | e3dac3589dc480a6f01c14a4d6a564f38f89a381 /sys/dev/pci/auglx.c | |
parent | 1f92fdc695cc746e49709602431cd1054b13ddeb (diff) |
with empty body loops, put final semicolon on a new line for readability
ok bluhm@ jca@
Diffstat (limited to 'sys/dev/pci/auglx.c')
-rw-r--r-- | sys/dev/pci/auglx.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/pci/auglx.c b/sys/dev/pci/auglx.c index a362789acc4..56507932fbf 100644 --- a/sys/dev/pci/auglx.c +++ b/sys/dev/pci/auglx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auglx.c,v 1.23 2022/10/26 20:19:08 kn Exp $ */ +/* $OpenBSD: auglx.c,v 1.24 2024/04/14 03:26:25 jsg Exp $ */ /* * Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org> @@ -669,7 +669,8 @@ auglx_trigger_output(void *v, void *start, void *end, int blksize, DPRINTF(AUGLX_DBG_DMA, ("%s: trigger_output, %p 0x%08x bytes, " "blksize 0x%04x\n", sc->sc_dev.dv_xname, start, size, blksize)); - for (p = sc->sc_dmas; p && p->addr != start; p = p->next); + for (p = sc->sc_dmas; p && p->addr != start; p = p->next) + ; if (!p) { DPRINTF(AUGLX_DBG_DMA, ("%s dma reg not found\n", sc->sc_dev.dv_xname)); @@ -730,7 +731,8 @@ auglx_trigger_input(void *v, void *start, void *end, int blksize, DPRINTF(AUGLX_DBG_DMA, ("%s: trigger_input, %p 0x%08x bytes, " "blksize 0x%04x\n", sc->sc_dev.dv_xname, start, size, blksize)); - for (p = sc->sc_dmas; p && p->addr != start; p = p->next); + for (p = sc->sc_dmas; p && p->addr != start; p = p->next) + ; if (!p) { DPRINTF(AUGLX_DBG_DMA, ("%s dma reg not found\n", sc->sc_dev.dv_xname)); |