summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-09-02 20:51:37 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-09-02 20:51:37 +0000
commit5b531f923758c94d2b7b4e938b9dee791d1b2b84 (patch)
tree23f6cb5d13642884ce0668014dc16ddbee53bbcc /sys/dev/usb
parent3190571c334d57bae7417ab3c38667c5d7e12ec1 (diff)
Dont "#ifdef DIAGNOSTICS" out umidi_jack->intr.
Unbreaks compilation with no DIAGNOSTICS defined. From Artturi Alm <artturi.alm at gmail.com>. Thanks
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/umidivar.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/umidivar.h b/sys/dev/usb/umidivar.h
index 0a3f908eb33..a9edea09194 100644
--- a/sys/dev/usb/umidivar.h
+++ b/sys/dev/usb/umidivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: umidivar.h,v 1.13 2012/03/30 08:18:19 ratchov Exp $ */
+/* $OpenBSD: umidivar.h,v 1.14 2012/09/02 20:51:36 ratchov Exp $ */
/* $NetBSD: umidivar.h,v 1.5 2002/09/12 21:00:42 augustss Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -68,9 +68,7 @@ struct umidi_jack {
int binded;
int opened;
SIMPLEQ_ENTRY(umidi_jack) intrq_entry;
-#ifdef DIAGNOSTIC
unsigned intr;
-#endif
union {
struct {
void (*intr)(void *);