diff mbox

[1/1] ASoC: cs42l51: Remove unused variable

Message ID 1392714168-8292-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State Accepted
Commit 423f0c4a3d32cc83dff204324f59aecb4516f3cf
Headers show

Commit Message

Sachin Kamat Feb. 18, 2014, 9:02 a.m. UTC
‘cs42l51’ is not used. Remove it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 sound/soc/codecs/cs42l51.c |    1 -
 1 file changed, 1 deletion(-)

Comments

Austin, Brian Feb. 18, 2014, 3:07 p.m. UTC | #1
On Feb 18, 2014, at 3:02 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote:

> ‘cs42l51’ is not used. Remove it.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
Acked-by: Brian Austin <brian.austin@cirrus.com>
Mark Brown Feb. 19, 2014, 4:10 a.m. UTC | #2
On Tue, Feb 18, 2014 at 02:32:48PM +0530, Sachin Kamat wrote:
> ‘cs42l51’ is not used. Remove it.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/cs42l51.c b/sound/soc/codecs/cs42l51.c
index e53c8714591f..3eab46020a30 100644
--- a/sound/soc/codecs/cs42l51.c
+++ b/sound/soc/codecs/cs42l51.c
@@ -487,7 +487,6 @@  static struct snd_soc_dai_driver cs42l51_dai = {
 
 static int cs42l51_probe(struct snd_soc_codec *codec)
 {
-	struct cs42l51_private *cs42l51 = snd_soc_codec_get_drvdata(codec);
 	int ret, reg;
 
 	ret = snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP);