ASoC: Remove unused variable
Subsystems (4)
PATCH 1/1 ASoC: Remove unused variable
This patch removes a unused struct snd_soc_dai.
Sparse is warning:sound/soc/soc-compress.c:156:22: warning:
unused variable ‘codec_dai’ [-Wunused-variable]
Signed-off-by Emil Goode <[email protected]>
--- sound/soc/soc-compress.c | 1 - 1 file changed, 1 deletion(-)
sound/soc/soc-compress.c +0 -1
@@ -153,7 +153,6 @@ static int soc_compr_set_params(struct snd_compr_stream *cstream, {struct snd_soc_pcm_runtime *rtd = cstream->private_data;struct snd_soc_platform *platform = rtd->platform; -struct snd_soc_dai *codec_dai = rtd->codec_dai;int ret =0 ;/* first we call set_params for the platform driver
Signature · 1 line
1.7.10.4
Quoted 5 lines · Emil Goode
This patch removes a unused struct
snd_soc_dai.Sparse is warning:
sound/soc/soc-compress.c:156:22: warning:
unused variable ‘codec_dai’ [-Wunused-variable]
Already fixed by someone else.