[alsa-devel] [PATCH] sound/spi: patch for the unuseful variable removal

Liam Girdwood lrg at slimlogic.co.uk
Mon Jun 7 14:52:40 CEST 2010


On Fri, 2010-06-04 at 16:30 +0800, Wan ZongShun wrote:
> The '*bitclk' of structure 'snd_at73c213' seems no use
> ,so I make a patch to remove the unnecessary variable.
> 
> Signed-off-by: Wan ZongShun <mcuos.com at gmail.com>
> ---
>  sound/spi/at73c213.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/sound/spi/at73c213.c b/sound/spi/at73c213.c
> index 4c7b051..1bc56b2 100644
> --- a/sound/spi/at73c213.c
> +++ b/sound/spi/at73c213.c
> @@ -69,7 +69,6 @@ struct snd_at73c213 {
>  	int				irq;
>  	int				period;
>  	unsigned long			bitrate;
> -	struct clk			*bitclk;
>  	struct ssc_device		*ssc;
>  	struct spi_device		*spi;
>  	u8				spi_wbuffer[2];

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



More information about the Alsa-devel mailing list