ASoC: MAX98088: Fix compiler warning
Sumit Bhattacharya [Tue, 13 Dec 2011 16:27:04 +0000 (21:27 +0530)]
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>

Rebase-Id: R70101ea88ca753a320a5e7fbcce271a27aae5f7d

sound/soc/codecs/max98088.c

index 9fdf891..1b8c399 100644 (file)
@@ -1998,7 +1998,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);