Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/dwc2 Fix non-DIAGNOSTIC build
details: https://anonhg.NetBSD.org/src/rev/287ccb6d1461
branches: trunk
changeset: 366464:287ccb6d1461
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Aug 28 08:17:10 2018 +0000
description:
Fix non-DIAGNOSTIC build
diffstat:
sys/external/bsd/dwc2/dwc2.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cb24c6c56579 -r 287ccb6d1461 sys/external/bsd/dwc2/dwc2.c
--- a/sys/external/bsd/dwc2/dwc2.c Tue Aug 28 07:28:01 2018 +0000
+++ b/sys/external/bsd/dwc2/dwc2.c Tue Aug 28 08:17:10 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc2.c,v 1.53 2018/08/10 04:24:46 rin Exp $ */
+/* $NetBSD: dwc2.c,v 1.54 2018/08/28 08:17:10 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.53 2018/08/10 04:24:46 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.54 2018/08/28 08:17:10 skrll Exp $");
#include "opt_usb.h"
@@ -643,7 +643,7 @@
Static void
dwc2_root_intr_abort(struct usbd_xfer *xfer)
{
- struct dwc2_softc *sc = DWC2_XFER2SC(xfer);
+ struct dwc2_softc *sc __diagused = DWC2_XFER2SC(xfer);
DPRINTF("xfer=%p\n", xfer);
Home |
Main Index |
Thread Index |
Old Index