aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Boichat <[email protected]>2015-07-17 10:58:40 +0800
committerMark Brown <[email protected]>2015-07-17 12:16:00 +0100
commit582edace0b2af5f5fd44446ff6651a23417f1aee (patch)
treea16318f0b3ab763bb798e7bc883520b7f45a2876
parenta4e3c5fa955ce0934774f3f3684377dbf2c20eca (diff)
ASoC: rt5645: Remove unused rt5645 variable
"ASoC: rt5645: Simplify rt5645_enable_push_button_irq" removes the test that accessed rt5645->pdata.jd_mode (that test is now done in rt5645_jack_detect only), so we do not need that variable anymore. Signed-off-by: Nicolas Boichat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/codecs/rt5645.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 11a2bfc4a059..c16adf4bac0d 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -2763,7 +2763,6 @@ static void rt5645_enable_push_button_irq(struct snd_soc_codec *codec,
bool enable)
{
struct snd_soc_dapm_context *dapm = snd_soc_codec_get_dapm(codec);
- struct rt5645_priv *rt5645 = snd_soc_codec_get_drvdata(codec);
if (enable) {
snd_soc_dapm_force_enable_pin(dapm, "ADC L power");