lkml.org 
[lkml]   [2015]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] ASoC: rt5645: remove unused variable
Date
We were getting a build warning about unused variable. This variable was
a leftover from:
a4e3c5fa955c ("ASoC: rt5645: Simplify rt5645_enable_push_button_irq")

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
sound/soc/codecs/rt5645.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index d24c979..ff091d6 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");
--
1.8.1.2


\
 
 \ /
  Last update: 2015-07-17 09:41    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog