Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Whitespace in DIAGNOSTIC code.
details: https://anonhg.NetBSD.org/src/rev/4ed21a434ea2
branches: trunk
changeset: 791548:4ed21a434ea2
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Nov 23 12:35:19 2013 +0000
description:
Whitespace in DIAGNOSTIC code.
diffstat:
sys/dev/usb/ehci.c | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diffs (43 lines):
diff -r fff889100d50 -r 4ed21a434ea2 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c Sat Nov 23 11:40:56 2013 +0000
+++ b/sys/dev/usb/ehci.c Sat Nov 23 12:35:19 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci.c,v 1.215 2013/11/04 16:54:36 christos Exp $ */
+/* $NetBSD: ehci.c,v 1.216 2013/11/23 12:35:19 skrll Exp $ */
/*
* Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.215 2013/11/04 16:54:36 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.216 2013/11/23 12:35:19 skrll Exp $");
#include "ohci.h"
#include "uhci.h"
@@ -918,18 +918,16 @@
DPRINTFN(/*12*/2, ("ehci_idone: ex=%p\n", ex));
#ifdef DIAGNOSTIC
- {
- if (ex->isdone) {
+ if (ex->isdone) {
#ifdef EHCI_DEBUG
- printf("ehci_idone: ex is done!\n ");
- ehci_dump_exfer(ex);
+ printf("ehci_idone: ex is done!\n");
+ ehci_dump_exfer(ex);
#else
- printf("ehci_idone: ex=%p is done!\n", ex);
+ printf("ehci_idone: ex=%p is done!\n", ex);
#endif
- return;
- }
- ex->isdone = 1;
+ return;
}
+ ex->isdone = 1;
#endif
if (xfer->status == USBD_CANCELLED ||
xfer->status == USBD_TIMEOUT) {
Home |
Main Index |
Thread Index |
Old Index