Module Name: src
Committed By: skrll
Date: Sun Feb 22 14:50:07 UTC 2015
Modified Files:
src/sys/dev/usb [nick-nhusb]: usbdivar.h
Log Message:
Simplify #ifdef.
USB_DEBUG is defined if either of EHCI_DEBUG or OHCI_DEBUG (or others)
are defined.
To generate a diff of this commit:
cvs rdiff -u -r1.109.2.10 -r1.109.2.11 src/sys/dev/usb/usbdivar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/usbdivar.h
diff -u src/sys/dev/usb/usbdivar.h:1.109.2.10 src/sys/dev/usb/usbdivar.h:1.109.2.11
--- src/sys/dev/usb/usbdivar.h:1.109.2.10 Fri Dec 19 09:52:35 2014
+++ src/sys/dev/usb/usbdivar.h Sun Feb 22 14:50:07 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: usbdivar.h,v 1.109.2.10 2014/12/19 09:52:35 skrll Exp $ */
+/* $NetBSD: usbdivar.h,v 1.109.2.11 2015/02/22 14:50:07 skrll Exp $ */
/*
* Copyright (c) 1998, 2012 The NetBSD Foundation, Inc.
@@ -281,7 +281,7 @@ struct usbd_xfer {
void usbd_init(void);
void usbd_finish(void);
-#if defined(USB_DEBUG) || defined(EHCI_DEBUG) || defined(OHCI_DEBUG)
+#if defined(USB_DEBUG)
void usbd_dump_iface(struct usbd_interface *);
void usbd_dump_device(struct usbd_device *);
void usbd_dump_endpoint(struct usbd_endpoint *);