From: Pierre-Louis Bossart Date: Wed, 1 Feb 2017 18:27:05 +0000 (-0600) Subject: ASoC: cht-bsw-rt5645: fix unused variable compiler warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=77e546b7ba3e39e8a739cb18489582044222b7ba;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ASoC: cht-bsw-rt5645: fix unused variable compiler warning Missed unused variable in previous changes, oops. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/boards/cht_bsw_rt5645.c b/sound/soc/intel/boards/cht_bsw_rt5645.c index b972b6526176..5bcde01d15e6 100644 --- a/sound/soc/intel/boards/cht_bsw_rt5645.c +++ b/sound/soc/intel/boards/cht_bsw_rt5645.c @@ -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) ||