summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-cache.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-08-13 21:27:16 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-15 22:52:03 +0900
commit3a52f19ee6b5cbe36b9a47ab01ee7ca6d2e559e8 (patch)
treecfa9019287a059eed61470896f73f23c68e2d2f5 /sound/soc/soc-cache.c
parent31e12dd377f463eba21609486ee809fd1418d400 (diff)
downloadop-kernel-dev-3a52f19ee6b5cbe36b9a47ab01ee7ca6d2e559e8.zip
op-kernel-dev-3a52f19ee6b5cbe36b9a47ab01ee7ca6d2e559e8.tar.gz
ASoC: soc-cache: Remove unneeded codec_drv pointer variable in snd_soc_lzo_get_blksize
Since commit aea170a099793abcd0e6de46b947458073204241 "ASoC: soc-cache: Add reg_size as a member to snd_soc_codec", the codec_drv pointer variable is not used in snd_soc_lzo_get_blksize. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-cache.c')
-rw-r--r--sound/soc/soc-cache.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/soc-cache.c b/sound/soc/soc-cache.c
index c17d012..fdfd488 100644
--- a/sound/soc/soc-cache.c
+++ b/sound/soc/soc-cache.c
@@ -548,9 +548,6 @@ static inline int snd_soc_lzo_get_blkpos(struct snd_soc_codec *codec,
static inline int snd_soc_lzo_get_blksize(struct snd_soc_codec *codec)
{
- const struct snd_soc_codec_driver *codec_drv;
-
- codec_drv = codec->driver;
return DIV_ROUND_UP(codec->reg_size, snd_soc_lzo_block_count());
}
OpenPOWER on IntegriCloud