Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Don't need to nest #ifdef EHCI_DEBUG



details:   https://anonhg.NetBSD.org/src/rev/54d18cf44ff1
branches:  trunk
changeset: 342181:54d18cf44ff1
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Dec 11 07:21:09 2015 +0000

description:
Don't need to nest #ifdef EHCI_DEBUG

diffstat:

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

diffs (36 lines):

diff -r ed6a9261570f -r 54d18cf44ff1 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Fri Dec 11 04:29:24 2015 +0000
+++ b/sys/dev/usb/ehci.c        Fri Dec 11 07:21:09 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.246 2015/10/29 00:15:48 mrg Exp $ */
+/*     $NetBSD: ehci.c,v 1.247 2015/12/11 07:21:09 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.246 2015/10/29 00:15:48 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.247 2015/12/11 07:21:09 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -1549,7 +1549,6 @@
        }
 }
 
-#ifdef EHCI_DEBUG
 #define ehci_dump_link(link, type) do {                                        \
        USBHIST_LOG(ehcidebug, "    link 0x%08x (T = %d):",             \
            link,                                                       \
@@ -1563,9 +1562,6 @@
                    EHCI_LINK_TYPE(link) == EHCI_LINK_FSTN ? 1 : 0);    \
        }                                                               \
 } while(0)
-#else
-#define ehci_dump_link(link, type)
-#endif
 
 Static void
 ehci_dump_sqtds(ehci_soft_qtd_t *sqtd)



Home | Main Index | Thread Index | Old Index