Skip to content

Commit

Permalink
ASoC: atmel: patch for the unnecessary variable removal
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
zswan authored and broonie committed Jun 3, 2010
1 parent c0da550 commit b07adff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/atmel/atmel-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b07adff

Please sign in to comment.