Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/external/bsd/dwc2 Use __diagused
details: https://anonhg.NetBSD.org/src/rev/4221a0004507
branches: nick-nhusb
changeset: 334282:4221a0004507
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Oct 22 12:07:48 2015 +0000
description:
Use __diagused
diffstat:
sys/external/bsd/dwc2/dwc2.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r 9246af64692f -r 4221a0004507 sys/external/bsd/dwc2/dwc2.c
--- a/sys/external/bsd/dwc2/dwc2.c Thu Oct 22 11:15:42 2015 +0000
+++ b/sys/external/bsd/dwc2/dwc2.c Thu Oct 22 12:07:48 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc2.c,v 1.32.2.13 2015/10/11 09:17:51 skrll Exp $ */
+/* $NetBSD: dwc2.c,v 1.32.2.14 2015/10/22 12:07:48 skrll Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.32.2.13 2015/10/11 09:17:51 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.32.2.14 2015/10/22 12:07:48 skrll Exp $");
#include "opt_usb.h"
@@ -961,9 +961,7 @@
void
dwc2_device_isoc_abort(struct usbd_xfer *xfer)
{
-#ifdef DIAGNOSTIC
- struct dwc2_softc *sc = DWC2_XFER2SC(xfer);
-#endif
+ struct dwc2_softc *sc __diagused = DWC2_XFER2SC(xfer);
KASSERT(mutex_owned(&sc->sc_lock));
DPRINTF("xfer=%p\n", xfer);
Home |
Main Index |
Thread Index |
Old Index