summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-compress.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-08-21 12:20:22 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-21 15:09:44 +0100
commit1be437fa53609da9a796a4d213d3fc0a17fc03e0 (patch)
tree32404005485f17a3ad77d64dbd9bd21fb5e3d15b /sound/soc/soc-compress.c
parent9d2667a910b8d889a8307bd2534032eb6ed0ea36 (diff)
downloadlinux-1be437fa53609da9a796a4d213d3fc0a17fc03e0.tar.bz2
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: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-compress.c')
-rw-r--r--sound/soc/soc-compress.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/soc-compress.c b/sound/soc/soc-compress.c
index cc0562d28df2..967d0e173e1b 100644
--- a/sound/soc/soc-compress.c
+++ b/sound/soc/soc-compress.c
@@ -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