mirror of https://gitee.com/openkylin/linux.git
ASoC: cht-bsw-rt5645: fix unused variable compiler warning
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>
This commit is contained in:
parent
7bde09dfcf
commit
77e546b7ba
|
@ -262,7 +262,6 @@ static int cht_codec_init(struct snd_soc_pcm_runtime *runtime)
|
||||||
int jack_type;
|
int jack_type;
|
||||||
struct snd_soc_codec *codec = runtime->codec;
|
struct snd_soc_codec *codec = runtime->codec;
|
||||||
struct snd_soc_card *card = runtime->card;
|
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);
|
struct cht_mc_private *ctx = snd_soc_card_get_drvdata(runtime->card);
|
||||||
|
|
||||||
if ((cht_rt5645_quirk & CHT_RT5645_SSP2_AIF2) ||
|
if ((cht_rt5645_quirk & CHT_RT5645_SSP2_AIF2) ||
|
||||||
|
|
Loading…
Reference in New Issue