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/97ca3839c70d
branches: trunk
changeset: 379638:97ca3839c70d
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sun Jun 13 08:48:29 2021 +0000
description:
Fix non-DIAGNOSTIC build.
diffstat:
sys/dev/usb/usb_subr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 96cc223e4951 -r 97ca3839c70d sys/dev/usb/usb_subr.c
--- a/sys/dev/usb/usb_subr.c Sun Jun 13 07:51:09 2021 +0000
+++ b/sys/dev/usb/usb_subr.c Sun Jun 13 08:48:29 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usb_subr.c,v 1.261 2021/06/13 00:13:24 riastradh Exp $ */
+/* $NetBSD: usb_subr.c,v 1.262 2021/06/13 08:48:29 mlelstv Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */
/*
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.261 2021/06/13 00:13:24 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.262 2021/06/13 08:48:29 mlelstv Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -421,7 +421,7 @@ usbd_iface_init(struct usbd_device *dev,
static void
usbd_iface_fini(struct usbd_device *dev, int ifaceidx)
{
- struct usbd_interface *ifc = &dev->ud_ifaces[ifaceidx];
+ struct usbd_interface *ifc __diagused = &dev->ud_ifaces[ifaceidx];
KASSERT(ifc->ui_dev == dev);
KASSERT(ifc->ui_idesc == NULL);
Home |
Main Index |
Thread Index |
Old Index