diff options
author | Sachin Kamat <sachin.kamat@samsung.com> | 2014-07-01 09:59:32 +0530 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-03 19:46:23 +0100 |
commit | d1498b13ae8cdd0353a405089609825d306b8036 (patch) | |
tree | d2cfc212d361987126f4568f58a3177d7f25de38 /sound/soc/codecs/wm8350.c | |
parent | bb17bc78885b6b2e53d46041605a7ed08c5274c2 (diff) | |
download | linux-d1498b13ae8cdd0353a405089609825d306b8036.tar.bz2 |
ASoC: wm8350: Remove unused variable
'irq' is not used in the function. Remove it.
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/wm8350.c')
-rw-r--r-- | sound/soc/codecs/wm8350.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c index 392285edb595..d9e634c55e81 100644 --- a/sound/soc/codecs/wm8350.c +++ b/sound/soc/codecs/wm8350.c @@ -1341,21 +1341,18 @@ int wm8350_hp_jack_detect(struct snd_soc_codec *codec, enum wm8350_jack which, { struct wm8350_data *priv = snd_soc_codec_get_drvdata(codec); struct wm8350 *wm8350 = priv->wm8350; - int irq; int ena; switch (which) { case WM8350_JDL: priv->hpl.jack = jack; priv->hpl.report = report; - irq = WM8350_IRQ_CODEC_JCK_DET_L; ena = WM8350_JDL_ENA; break; case WM8350_JDR: priv->hpr.jack = jack; priv->hpr.report = report; - irq = WM8350_IRQ_CODEC_JCK_DET_R; ena = WM8350_JDR_ENA; break; |