Module Name: src Committed By: prlw1 Date: Wed Feb 7 15:55:58 UTC 2018
Modified Files: src/sys/dev/usb: xhci.c Log Message: xhci.c: avoid unused variable in non-DIAGNOSTIC build To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sys/dev/usb/xhci.c 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/xhci.c diff -u src/sys/dev/usb/xhci.c:1.85 src/sys/dev/usb/xhci.c:1.86 --- src/sys/dev/usb/xhci.c:1.85 Thu Feb 1 09:55:37 2018 +++ src/sys/dev/usb/xhci.c Wed Feb 7 15:55:58 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: xhci.c,v 1.85 2018/02/01 09:55:37 msaitoh Exp $ */ +/* $NetBSD: xhci.c,v 1.86 2018/02/07 15:55:58 prlw1 Exp $ */ /* * Copyright (c) 2013 Jonathan A. Kollasch @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.85 2018/02/01 09:55:37 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.86 2018/02/07 15:55:58 prlw1 Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -3658,7 +3658,7 @@ xhci_root_intr_start(struct usbd_xfer *x static void xhci_root_intr_abort(struct usbd_xfer *xfer) { - struct xhci_softc * const sc = XHCI_XFER2SC(xfer); + struct xhci_softc * const sc __diagused = XHCI_XFER2SC(xfer); XHCIHIST_FUNC(); XHCIHIST_CALLED();