summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5640.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudip.mukherjee@codethink.co.uk>2016-03-08 13:35:31 +0530
committerMark Brown <broonie@kernel.org>2016-03-08 15:07:44 +0700
commitc77dd678a7659d58625bd3b3a36d1329d9e7d44c (patch)
tree6f5addedbb9eb4643d13f974cd5fcf4e6040b4f4 /sound/soc/codecs/rt5640.c
parent57586fb76471c5fc521b2e9c3a4eae259b06d479 (diff)
downloadop-kernel-dev-c77dd678a7659d58625bd3b3a36d1329d9e7d44c.zip
op-kernel-dev-c77dd678a7659d58625bd3b3a36d1329d9e7d44c.tar.gz
ASoC: rt5640: remove unused variable
We are getting build warning about: sound/soc/codecs/rt5640.c:1892:11: warning: unused variable 'dai_sel' The use of the variable was removed but the variable itself was not removed. Fixes: c467fc0e010b ("ASoC: rt5640: Set PLL src according to source") Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5640.c')
-rw-r--r--sound/soc/codecs/rt5640.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
index af9b5f1..e8b5ba0 100644
--- a/sound/soc/codecs/rt5640.c
+++ b/sound/soc/codecs/rt5640.c
@@ -1889,7 +1889,7 @@ static int rt5640_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source,
struct snd_soc_codec *codec = dai->codec;
struct rt5640_priv *rt5640 = snd_soc_codec_get_drvdata(codec);
struct rl6231_pll_code pll_code;
- int ret, dai_sel;
+ int ret;
if (source == rt5640->pll_src && freq_in == rt5640->pll_in &&
freq_out == rt5640->pll_out)
OpenPOWER on IntegriCloud