summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm
diff options
context:
space:
mode:
authorcg <cg@FreeBSD.org>2000-05-04 19:06:34 +0000
committercg <cg@FreeBSD.org>2000-05-04 19:06:34 +0000
commit05c83e1b4b6755fa1f1a8bf6a129e31fff2aa878 (patch)
treebc4d16ba647ad4f3ac0cf13b07184d28fb5b122c /sys/dev/sound/pcm
parent6914c47f1beae7a93aadf8d3f8c68634f4ab6e7c (diff)
downloadFreeBSD-src-05c83e1b4b6755fa1f1a8bf6a129e31fff2aa878.zip
FreeBSD-src-05c83e1b4b6755fa1f1a8bf6a129e31fff2aa878.tar.gz
fix the 100% cpu in xmms issue
Diffstat (limited to 'sys/dev/sound/pcm')
-rw-r--r--sys/dev/sound/pcm/channel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c
index 464fa66..c8d4d17 100644
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -118,7 +118,6 @@ chn_polltrigger(pcm_channel *c)
unsigned lim = (c->flags & CHN_F_HAS_SIZE)? c->blocksize2nd : 0;
int trig = 0;
- lim = 0;
if (c->flags & CHN_F_MAPPED)
trig = ((bs->int_count > bs->prev_int_count) || bs->first_poll);
else
OpenPOWER on IntegriCloud