ASoC: soc-compress: Remove unused variable
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 21 Aug 2012 06:50:22 +0000 (12:20 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 21 Aug 2012 14:09:44 +0000 (15:09 +0100)
codec_dai is not used in the function.

sound/soc/soc-compress.c: In function ‘soc_compr_set_params’:
sound/soc/soc-compress.c:156:22: warning:
unused variable ‘codec_dai’ [-Wunused-variable]

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-compress.c

index cc0562d28df26d98880041add2e7e3418e11f068..967d0e173e1b8a0d8711b24addb05f68d9487ed1 100644 (file)
@@ -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