ASoC: twl4030: Remove unused variable
authorSachin Kamat <sachin.kamat@samsung.com>
Tue, 1 Jul 2014 04:29:31 +0000 (09:59 +0530)
committerMark Brown <broonie@linaro.org>
Thu, 3 Jul 2014 18:46:23 +0000 (19:46 +0100)
'status' 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>
sound/soc/codecs/twl4030.c

index 69e12a311ba20009fe489960800f95798eecbbc3..6ab1570653531ecd1584be24786a0af244de0eb1 100644 (file)
@@ -344,17 +344,16 @@ static void twl4030_init_chip(struct snd_soc_codec *codec)
 static void twl4030_apll_enable(struct snd_soc_codec *codec, int enable)
 {
        struct twl4030_priv *twl4030 = snd_soc_codec_get_drvdata(codec);
-       int status = -1;
 
        if (enable) {
                twl4030->apll_enabled++;
                if (twl4030->apll_enabled == 1)
-                       status = twl4030_audio_enable_resource(
+                       twl4030_audio_enable_resource(
                                                        TWL4030_AUDIO_RES_APLL);
        } else {
                twl4030->apll_enabled--;
                if (!twl4030->apll_enabled)
-                       status = twl4030_audio_disable_resource(
+                       twl4030_audio_disable_resource(
                                                        TWL4030_AUDIO_RES_APLL);
        }
 }
This page took 0.030057 seconds and 5 git commands to generate.