summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2002-02-27 19:24:55 +0000
committerjulian <julian@FreeBSD.org>2002-02-27 19:24:55 +0000
commit93134b0c510c86d8efe34d2444d79c6323dba757 (patch)
tree4afc3a4fb5ff399c45ecc56d28468217127b4171 /sys
parentb8b3ac8816b79f4b10e71029cabb891ae0c33e03 (diff)
downloadFreeBSD-src-93134b0c510c86d8efe34d2444d79c6323dba757.zip
FreeBSD-src-93134b0c510c86d8efe34d2444d79c6323dba757.tar.gz
Add a comment explaining a code change..
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/ohci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index 70675c0..ec7b667 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -1031,13 +1031,13 @@ ohci_intr1(ohci_softc_t *sc)
done &= ~OHCI_DONE_INTRS;
if (sc->sc_done == 0)
sc->sc_done = done;
- else {
+ else { /* there is at least one */
/* Tack on at the end of sc_done. */
ohci_physaddr_t ldone;
ohci_soft_td_t *std;
ldone = sc->sc_done; /* always non 0 */
- do {
+ do { /* use do{}while here to silence gcc warnings */
std = ohci_hash_find_td(sc, ldone);
ldone = le32toh(std->td.td_nexttd);
} while (ldone != 0);
OpenPOWER on IntegriCloud