Commit b07adffb authored by Wan ZongShun's avatar Wan ZongShun Committed by Mark Brown

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: default avatarWan ZongShun <mcuos.com@gmail.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent c0da5500
...@@ -77,7 +77,6 @@ struct atmel_runtime_data { ...@@ -77,7 +77,6 @@ struct atmel_runtime_data {
size_t period_size; size_t period_size;
dma_addr_t period_ptr; /* physical address of next period */ dma_addr_t period_ptr; /* physical address of next period */
int periods; /* period index of period_ptr */
/* PDC register save */ /* PDC register save */
u32 pdc_xpr_save; u32 pdc_xpr_save;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment