* [PATCH] ASoC: soc-cache: Remove unneeded codec_drv pointer variable in snd_soc_flat_cache_init
@ 2011-08-13 13:12 Axel Lin
2011-08-15 13:52 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-08-13 13:12 UTC (permalink / raw)
To: linux-kernel; +Cc: Dimitris Papastamos, Liam Girdwood, Mark Brown, alsa-devel
Since commit d779fce5d79525d66269c8f6e430e1515d697f3d
"ASoC: soc-cache: Ensure flat compression uses a copy of the defaults cache",
the codec_drv pointer variable is not used any more.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
sound/soc/soc-cache.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/sound/soc/soc-cache.c b/sound/soc/soc-cache.c
index d9f8ade..c17d012 100644
--- a/sound/soc/soc-cache.c
+++ b/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);
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: soc-cache: Remove unneeded codec_drv pointer variable in snd_soc_flat_cache_init
2011-08-13 13:12 [PATCH] ASoC: soc-cache: Remove unneeded codec_drv pointer variable in snd_soc_flat_cache_init Axel Lin
@ 2011-08-15 13:52 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2011-08-15 13:52 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Dimitris Papastamos, Liam Girdwood, alsa-devel
On Sat, Aug 13, 2011 at 09:12:01PM +0800, Axel Lin wrote:
> Since commit d779fce5d79525d66269c8f6e430e1515d697f3d
> "ASoC: soc-cache: Ensure flat compression uses a copy of the defaults cache",
> the codec_drv pointer variable is not used any more.
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-15 13:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-13 13:12 [PATCH] ASoC: soc-cache: Remove unneeded codec_drv pointer variable in snd_soc_flat_cache_init Axel Lin
2011-08-15 13:52 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox