aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/midi
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-03 11:11:45 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-03 11:11:45 +0000
commit775fcb6e6369bb2a59b9643e7bb0ae32215d0479 (patch)
tree233a545798b72106aff9606045c3e5784f46316c /sys/dev/sound/midi
parent08c5dbaeb06e04e56e715d5c203a90a0acf979fe (diff)
Notes
Diffstat (limited to 'sys/dev/sound/midi')
-rw-r--r--sys/dev/sound/midi/sequencer.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/dev/sound/midi/sequencer.c b/sys/dev/sound/midi/sequencer.c
index 1ef784599e4e..008d6bdf9f76 100644
--- a/sys/dev/sound/midi/sequencer.c
+++ b/sys/dev/sound/midi/sequencer.c
@@ -466,12 +466,7 @@ done:
cv_broadcast(&scp->th_cv);
mtx_unlock(&scp->seq_lock);
SEQ_DEBUG(2, printf("seq_eventthread finished\n"));
-#if __FreeBSD_version >= 800002
kproc_exit(0);
-#else
- mtx_lock(&Giant);
- kthread_exit(0);
-#endif
}
/*
@@ -587,11 +582,7 @@ seq_addunit(void)
*/
ret =
-#if __FreeBSD_version >= 800002
kproc_create
-#else
- kthread_create
-#endif
(seq_eventthread, scp, NULL, RFHIGHPID, 0,
"sequencer %02d", scp->unit);