diff options
author | Wan ZongShun <mcuos.com@gmail.com> | 2010-06-03 00:28:46 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-06-03 19:00:16 +0100 |
commit | b07adffbbcb258ac607c16c5af9bf4ec8d189d38 (patch) | |
tree | c4790328b4e5bd371977d9733550dd688f1be029 | |
parent | c0da5500e9962e23ee8bb0bce9cb4307d44c0ae7 (diff) | |
download | kernel_samsung_tuna-b07adffbbcb258ac607c16c5af9bf4ec8d189d38.zip kernel_samsung_tuna-b07adffbbcb258ac607c16c5af9bf4ec8d189d38.tar.gz kernel_samsung_tuna-b07adffbbcb258ac607c16c5af9bf4ec8d189d38.tar.bz2 |
ASoC: atmel: patch for the unnecessary variable removal
The variable 'periods' of structure 'atmel_runtime_data'
seems no use in whole atmel alsa driver,so I make a patch
to remove the unnecessary variable.
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/atmel/atmel-pcm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/atmel/atmel-pcm.c b/sound/soc/atmel/atmel-pcm.c index f6b3cc0..dc5249f 100644 --- a/sound/soc/atmel/atmel-pcm.c +++ b/sound/soc/atmel/atmel-pcm.c @@ -77,7 +77,6 @@ struct atmel_runtime_data { size_t period_size; dma_addr_t period_ptr; /* physical address of next period */ - int periods; /* period index of period_ptr */ /* PDC register save */ u32 pdc_xpr_save; |