Skip to contentSkip to conversation

Removed unused variable i from sound/soc/soc-pcm.c Signed-off-by: Shakil A Khan <[email protected]>

PATCH In review Shakil A Khan 2 participants 2 messages Jan 1, 2015 – Jan 2, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Removed unused variable i from sound/soc/soc-pcm.c Signed-off-by: Shakil A Khan <[email protected]>

---
 sound/soc/soc-pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-pcm.c +1 -1
index d6e8d6b..6b0136e 100644
@@ -304,7 +304,7 @@ static bool soc_pcm_has_symmetry(struct snd_pcm_substream *substream)
 static void soc_pcm_set_msb(struct snd_pcm_substream *substream, int bits)
 {
 	struct snd_soc_pcm_runtime *rtd = substream->private_data;
-	int ret, i;
+	int ret;
 
 	if (!bits)
 		return;
Signature · 1 line
1.9.1
#1 lore raw

At Thu, 1 Jan 2015 09:01:21 -0800,

Quoted 10 lines · Shakil A Khan
---
 sound/soc/soc-pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-pcm.c +0 -0
index d6e8d6b..6b0136e 100644

sound/soc/soc-pcm.c static bool soc_pcm_has_symmetry(struct snd_pcm_substream *substream) · line 307

Quoted 5 lines
sound/soc/soc-pcm.c +1 -1
@@ -304,7 +304,7 @@ static bool soc_pcm_has_symmetry(struct snd_pcm_substream *substream)
 static void soc_pcm_set_msb(struct snd_pcm_substream *substream, int bits)
 {
 	struct snd_soc_pcm_runtime *rtd = substream->private_data;
-	int ret, i;
+	int ret;

Thanks, but this has been already fixed.

Takashi