From d7d439ff9a1c9104e2f79c428ca3b96544715cb6 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Sat, 13 Aug 2011 21:12:01 +0800 Subject: [PATCH] --- yaml --- r: 270509 b: refs/heads/master c: 31e12dd377f463eba21609486ee809fd1418d400 h: refs/heads/master i: 270507: abd0a20096e6f46d7c552e3fdac428f2337e4b92 v: v3 --- [refs] | 2 +- trunk/sound/soc/soc-cache.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/[refs] b/[refs] index deab5dcf2c99..55f1835537ea 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ea19f494d6944ade02085d894a17c92d8e3057f0 +refs/heads/master: 31e12dd377f463eba21609486ee809fd1418d400 diff --git a/trunk/sound/soc/soc-cache.c b/trunk/sound/soc/soc-cache.c index d9f8aded51f3..c17d01211835 100644 --- a/trunk/sound/soc/soc-cache.c +++ b/trunk/sound/soc/soc-cache.c @@ -868,10 +868,6 @@ static int snd_soc_flat_cache_exit(struct snd_soc_codec *codec) static int snd_soc_flat_cache_init(struct snd_soc_codec *codec) { - const struct snd_soc_codec_driver *codec_drv; - - codec_drv = codec->driver; - if (codec->reg_def_copy) codec->reg_cache = kmemdup(codec->reg_def_copy, codec->reg_size, GFP_KERNEL);