[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1201280055410.13952@swampdragon.chaosbits.net>
Date: Sat, 28 Jan 2012 00:57:42 +0100 (CET)
From: Jesper Juhl <jj@...osbits.net>
To: linux-kernel@...r.kernel.org
cc: alsa-devel@...a-project.org, Takashi Iwai <tiwai@...e.de>,
Jaroslav Kysela <perex@...ex.cz>, Liam Girdwood <lrg@...com>,
Dimitris Papastamos <dp@...nsource.wolfsonmicro.com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Ian Lartey <ian@...nsource.wolfsonmicro.com>
Subject: [PATCH] Sound, SoC, WM9090: Remove unused variable 'wm9090' from
wm9090_i2c_remove()
The variable 'wm9090' is assigned to but never used, so let's just
remove it.
Signed-off-by: Jesper Juhl <jj@...osbits.net>
---
sound/soc/codecs/wm9090.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
compile teste only
diff --git a/sound/soc/codecs/wm9090.c b/sound/soc/codecs/wm9090.c
index 41ebe0d..db1ba30 100644
--- a/sound/soc/codecs/wm9090.c
+++ b/sound/soc/codecs/wm9090.c
@@ -655,10 +655,7 @@ static int wm9090_i2c_probe(struct i2c_client *i2c,
static int __devexit wm9090_i2c_remove(struct i2c_client *i2c)
{
- struct wm9090_priv *wm9090 = i2c_get_clientdata(i2c);
-
snd_soc_unregister_codec(&i2c->dev);
-
return 0;
}
--
1.7.8.4
--
Jesper Juhl <jj@...osbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists