Merge remote-tracking branches 'asoc/topic/omap', 'asoc/topic/oom' and 'asoc/topic...
[deliverable/linux.git] / sound / soc / codecs / twl4030.c
index 955df35c5ab62b3d0e96b5d5f0d4039be06b624f..cf404505e7d1b01a18681d334c7be857a17530ad 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.024642 seconds and 5 git commands to generate.