Source-Changes-HG archive

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

[src/nick-nhusb]: src/sys/dev/usb Remove #ifdef DIAGNOSTIC / #endif from arou...



details:   https://anonhg.NetBSD.org/src/rev/452176fdc1f8
branches:  nick-nhusb
changeset: 334095:452176fdc1f8
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Jan 02 07:57:18 2015 +0000

description:
Remove #ifdef DIAGNOSTIC / #endif from around a USBHIST_LOG call.

diffstat:

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

diffs (29 lines):

diff -r 1f283f4e9802 -r 452176fdc1f8 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Wed Dec 24 14:18:32 2014 +0000
+++ b/sys/dev/usb/ehci.c        Fri Jan 02 07:57:18 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.234.2.23 2014/12/24 14:18:32 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.234.2.24 2015/01/02 07:57:18 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.234.2.23 2014/12/24 14:18:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.24 2015/01/02 07:57:18 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -631,10 +631,8 @@
 
                if (intrs)
                        EOWRITE4(sc, EHCI_USBSTS, intrs); /* Acknowledge */
-#ifdef DIAGNOSTIC
                USBHIST_LOGN(ehcidebug, 16,
                    "ignored interrupt while polling", 0, 0, 0, 0);
-#endif
                goto done;
        }
 



Home | Main Index | Thread Index | Old Index