summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod/dev.c
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-11-30 20:25:33 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-11-30 20:25:33 +0000
commit1004657da7ceda6169e94b363e02d12706b2ba26 (patch)
tree39691186043a287237c9e6b2b143bb3dbf7d9c98 /usr.bin/sndiod/dev.c
parentffc5c84707a271b48a4fcb80cf8f25d9dcae66c5 (diff)
don't exit if midi control port is destroyed (it never is)
Diffstat (limited to 'usr.bin/sndiod/dev.c')
-rw-r--r--usr.bin/sndiod/dev.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.bin/sndiod/dev.c b/usr.bin/sndiod/dev.c
index bb8f55856dc..a6bc9855d8e 100644
--- a/usr.bin/sndiod/dev.c
+++ b/usr.bin/sndiod/dev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev.c,v 1.1 2012/11/23 07:03:28 ratchov Exp $ */
+/* $OpenBSD: dev.c,v 1.2 2012/11/30 20:25:32 ratchov Exp $ */
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@ -466,13 +466,7 @@ dev_midi_omsg(void *arg, unsigned char *msg, int len)
void
dev_midi_fill(void *arg, int count)
{
-#ifdef DEBUG
- struct dev *d = arg;
-
- dev_log(d);
- log_puts(": can't receive fill input\n");
- panic();
-#endif
+ /* nothing to do */
}
void