From: Takashi Iwai <tiwai@suse.de>
Date: Wed, 7 Mar 2007 14:58:40 +0000 (+0100)
Subject: [ALSA] Fix compilation error in sparc/cs4231.c
X-Git-Tag: firefly_0821_release~29172^2~100
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a43ae90543f4c5eccbc050eda088c07cf45b61c0;p=firefly-linux-kernel-4.4.55.git

[ALSA] Fix compilation error in sparc/cs4231.c

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>
---

diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c
index 96d51abcb73a..dca0344cc1bc 100644
--- a/sound/sparc/cs4231.c
+++ b/sound/sparc/cs4231.c
@@ -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);