Commit 1be437fa authored by Sachin Kamat's avatar Sachin Kamat Committed by Mark Brown

ASoC: soc-compress: Remove unused variable

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 9d2667a9
...@@ -153,7 +153,6 @@ static int soc_compr_set_params(struct snd_compr_stream *cstream, ...@@ -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_pcm_runtime *rtd = cstream->private_data;
struct snd_soc_platform *platform = rtd->platform; struct snd_soc_platform *platform = rtd->platform;
struct snd_soc_dai *codec_dai = rtd->codec_dai;
int ret = 0; int ret = 0;
/* first we call set_params for the platform driver /* first we call set_params for the platform driver
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment