summaryrefslogtreecommitdiff
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorSumit Bhattacharya <sumitb@nvidia.com>2011-12-13 21:57:04 +0530
committerVarun Wadekar <vwadekar@nvidia.com>2011-12-15 12:12:43 +0530
commit27d2e2ec0cdbd72a24e2516472ebf812a85b33ee (patch)
tree6758758adaf2537ac14ca2a9363c976c33376e22 /sound/soc/codecs
parent7d2988bcb3b28c3cb3c2c027fc1ae6f230db5941 (diff)
ASoC: MAX98088: Fix compiler warning
Change-Id: Ifd53d0cb0cd6022c3f526df3ba79cd4369796749 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/69783 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/max98088.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c
index fe97d9ef732e..cee6354656e7 100644
--- a/sound/soc/codecs/max98088.c
+++ b/sound/soc/codecs/max98088.c
@@ -1988,7 +1988,6 @@ int max98088_report_jack(struct snd_soc_codec *codec)
static irqreturn_t max98088_jack_handler(int irq, void *data)
{
struct snd_soc_codec *codec = data;
- struct max98088_priv *max98088 = snd_soc_codec_get_drvdata(codec);
/*clear the interrupt by reading the status register */
snd_soc_read(codec, M98088_REG_00_IRQ_STATUS);