ASoC: cht-bsw-rt5645: fix unused variable compiler warning
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 1 Feb 2017 18:27:05 +0000 (12:27 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 1 Feb 2017 18:35:50 +0000 (18:35 +0000)
Missed unused variable in previous changes, oops.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/cht_bsw_rt5645.c

index b972b65261764b0be4e5b48c84c0bdd49ca0900b..5bcde01d15e68d31dd6292ba9a7a8deedf7f0161 100644 (file)
@@ -262,7 +262,6 @@ static int cht_codec_init(struct snd_soc_pcm_runtime *runtime)
        int jack_type;
        struct snd_soc_codec *codec = runtime->codec;
        struct snd_soc_card *card = runtime->card;
-       struct snd_soc_dai *codec_dai = runtime->codec_dai;
        struct cht_mc_private *ctx = snd_soc_card_get_drvdata(runtime->card);
 
        if ((cht_rt5645_quirk & CHT_RT5645_SSP2_AIF2) ||