summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/twl4030.c
diff options
context:
space:
mode:
authorSachin Kamat2014-07-01 06:29:31 +0200
committerMark Brown2014-07-03 20:46:23 +0200
commitbb17bc78885b6b2e53d46041605a7ed08c5274c2 (patch)
treee5d7aba8bebc3d3df58f280066abb3ed1780549b /sound/soc/codecs/twl4030.c
parentLinux 3.16-rc1 (diff)
downloadkernel-qcow2-linux-bb17bc78885b6b2e53d46041605a7ed08c5274c2.tar.gz
kernel-qcow2-linux-bb17bc78885b6b2e53d46041605a7ed08c5274c2.tar.xz
kernel-qcow2-linux-bb17bc78885b6b2e53d46041605a7ed08c5274c2.zip
ASoC: twl4030: Remove unused variable
'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>
Diffstat (limited to 'sound/soc/codecs/twl4030.c')
-rw-r--r--sound/soc/codecs/twl4030.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
index 69e12a311ba2..6ab157065353 100644
--- a/sound/soc/codecs/twl4030.c
+++ b/sound/soc/codecs/twl4030.c
@@ -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);
}
}