Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb KNF the previous commit.



details:   https://anonhg.NetBSD.org/src/rev/7b5d3f7451b1
branches:  trunk
changeset: 553216:7b5d3f7451b1
user:      enami <enami%NetBSD.org@localhost>
date:      Mon Oct 13 00:05:36 2003 +0000

description:
KNF the previous commit.

diffstat:

 sys/dev/usb/ehci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 3b63f4a46b4f -r 7b5d3f7451b1 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Mon Oct 13 00:05:10 2003 +0000
+++ b/sys/dev/usb/ehci.c        Mon Oct 13 00:05:36 2003 +0000
@@ -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 @@
 
                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);



Home | Main Index | Thread Index | Old Index