diff options
| author | enami <enami@NetBSD.org> | 2003-10-13 00:05:36 +0000 |
|---|---|---|
| committer | enami <enami@NetBSD.org> | 2003-10-13 00:05:36 +0000 |
| commit | 3dbf40b29d6123e9ccd4e946ac41b5a51c26dd4e (patch) | |
| tree | a9fc11f3a79e2d420bc856e075be9ff88e7766d0 /sys/dev/usb | |
| parent | b3931d341ef37f008d9925b053b1b84c6ef428c4 (diff) | |
KNF the previous commit.
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/ehci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index df520e73047..e5cf0ded87b 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ehci.c,v 1.48 2003/10/12 18:04:28 mycroft Exp $ */ +/* $NetBSD: ehci.c,v 1.49 2003/10/13 00:05:36 enami Exp $ */ /* * TODO @@ -52,7 +52,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.48 2003/10/12 18:04:28 mycroft Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.49 2003/10/13 00:05:36 enami Exp $"); #include "ohci.h" #include "uhci.h" @@ -720,8 +720,8 @@ ehci_idone(struct ehci_xfer *ex) status = nstatus; /* halt is ok if descriptor is last, and complete */ - if(sqtd->qtd.qtd_next == EHCI_NULL - && EHCI_QTD_GET_BYTES(status) == 0) + if (sqtd->qtd.qtd_next == EHCI_NULL && + EHCI_QTD_GET_BYTES(status) == 0) status &= ~EHCI_QTD_HALTED; if (EHCI_QTD_GET_PID(status) != EHCI_QTD_PID_SETUP) actlen += sqtd->len - EHCI_QTD_GET_BYTES(status); |
