OSDN Git Service

[ALSA] Fix compilation error in sparc/cs4231.c
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Mar 2007 14:58:40 +0000 (15:58 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:55:44 +0000 (16:55 +0200)
Removed the unnecessary line I forgot in the last clean-up patch
wrt snd_pcm_group_for_each_entry().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/sparc/cs4231.c

index 96d51ab..dca0344 100644 (file)
@@ -664,7 +664,6 @@ static int snd_cs4231_trigger(struct snd_pcm_substream *substream, int cmd)
                unsigned long flags;
 
                snd_pcm_group_for_each_entry(s, substream) {
-                       s = snd_pcm_group_substream_entry(pos);
                        if (s == chip->playback_substream) {
                                what |= CS4231_PLAYBACK_ENABLE;
                                snd_pcm_trigger_done(s, substream);