diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-03-24 00:35:49 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-03-24 00:35:49 +0100 |
commit | d807500a2472445d05ce641bf09438e3d72eeb4f (patch) | |
tree | 09523f2161c042c874264890c509417fb0681839 /sound/core/pcm_timer.c | |
parent | c7ccfd060fe38d1029db860199a04d9b3dd4694d (diff) | |
parent | 8b22d943c34b616eefbd6d2f8f197a53b1f29fd0 (diff) | |
download | lwn-d807500a2472445d05ce641bf09438e3d72eeb4f.tar.gz lwn-d807500a2472445d05ce641bf09438e3d72eeb4f.zip |
Merge branch 'topic/pcm-cleanup' into for-linus
Diffstat (limited to 'sound/core/pcm_timer.c')
-rw-r--r-- | sound/core/pcm_timer.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/core/pcm_timer.c b/sound/core/pcm_timer.c index 2c89c04f2916..ca8068b63d6c 100644 --- a/sound/core/pcm_timer.c +++ b/sound/core/pcm_timer.c @@ -85,25 +85,19 @@ static unsigned long snd_pcm_timer_resolution(struct snd_timer * timer) static int snd_pcm_timer_start(struct snd_timer * timer) { - unsigned long flags; struct snd_pcm_substream *substream; substream = snd_timer_chip(timer); - spin_lock_irqsave(&substream->timer_lock, flags); substream->timer_running = 1; - spin_unlock_irqrestore(&substream->timer_lock, flags); return 0; } static int snd_pcm_timer_stop(struct snd_timer * timer) { - unsigned long flags; struct snd_pcm_substream *substream; substream = snd_timer_chip(timer); - spin_lock_irqsave(&substream->timer_lock, flags); substream->timer_running = 0; - spin_unlock_irqrestore(&substream->timer_lock, flags); return 0; } |