Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Fix non-DIAGNOSTIC build



details:   https://anonhg.NetBSD.org/src/rev/bca022aae808
branches:  trunk
changeset: 829476:bca022aae808
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Feb 03 08:52:52 2018 +0000

description:
Fix non-DIAGNOSTIC build

diffstat:

 sys/dev/usb/ohci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 97aa7cb50503 -r bca022aae808 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Sat Feb 03 02:57:15 2018 +0000
+++ b/sys/dev/usb/ohci.c        Sat Feb 03 08:52:52 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci.c,v 1.278 2018/02/01 09:55:37 msaitoh Exp $       */
+/*     $NetBSD: ohci.c,v 1.279 2018/02/03 08:52:52 skrll Exp $ */
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.278 2018/02/01 09:55:37 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.279 2018/02/03 08:52:52 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -2586,7 +2586,7 @@
 Static void
 ohci_root_intr_abort(struct usbd_xfer *xfer)
 {
-       ohci_softc_t *sc = OHCI_XFER2SC(xfer);
+       ohci_softc_t *sc __diagused = OHCI_XFER2SC(xfer);
 
        KASSERT(mutex_owned(&sc->sc_lock));
        KASSERT(xfer->ux_pipe->up_intrxfer == xfer);



Home | Main Index | Thread Index | Old Index