Re: [PATCH] AsoC/atmel: patch for the unnecessary variable removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-06-03 at 00:28 +0800, Wan ZongShun wrote:
> 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@xxxxxxxxx>
> ---
>  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;

Acked-by: Liam Girdwood <lrg@xxxxxxxxxxxxxxx>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux