Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Make this compilable w/o AUE_DEBUG
details: https://anonhg.NetBSD.org/src/rev/82e10ae8babc
branches: trunk
changeset: 745974:82e10ae8babc
user: martin <martin%NetBSD.org@localhost>
date: Wed Mar 18 09:42:05 2020 +0000
description:
Make this compilable w/o AUE_DEBUG
diffstat:
sys/dev/usb/if_aue.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r c2d6057438d2 -r 82e10ae8babc sys/dev/usb/if_aue.c
--- a/sys/dev/usb/if_aue.c Wed Mar 18 08:51:08 2020 +0000
+++ b/sys/dev/usb/if_aue.c Wed Mar 18 09:42:05 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_aue.c,v 1.169 2020/03/18 02:58:24 christos Exp $ */
+/* $NetBSD: if_aue.c,v 1.170 2020/03/18 09:42:05 martin Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_aue.c,v 1.169 2020/03/18 02:58:24 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_aue.c,v 1.170 2020/03/18 09:42:05 martin Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -1012,7 +1012,9 @@
static int
aue_uno_ioctl(struct ifnet *ifp, u_long cmd, void *data)
{
+#ifdef AUE_DEBUG
struct usbnet * const un = ifp->if_softc;
+#endif
AUEHIST_FUNC();
AUEHIST_CALLARGSN(5, "aue%jd: enter cmd %#jx data %#jx",
Home |
Main Index |
Thread Index |
Old Index