[alsa-devel] [PATCH] AsoC/s3c: patch for the unnecessary variable 'state' removal
Liam Girdwood
lrg at slimlogic.co.uk
Thu Jun 3 14:14:40 CEST 2010
On Thu, 2010-06-03 at 00:54 +0800, Wan ZongShun wrote:
> The variable 'state' of structure 's3c_ac97_info' seems no use here,
> so this patch is to remove the unnecessary variable.
>
> Signed-off-by: Wan ZongShun <mcuos.com at gmail.com>
> ---
> sound/soc/s3c24xx/s3c-ac97.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/sound/soc/s3c24xx/s3c-ac97.c b/sound/soc/s3c24xx/s3c-ac97.c
> index ecf4fd0..31f6d45 100644
> --- a/sound/soc/s3c24xx/s3c-ac97.c
> +++ b/sound/soc/s3c24xx/s3c-ac97.c
> @@ -31,7 +31,6 @@
> #define AC_CMD_DATA(x) (x & 0xffff)
>
> struct s3c_ac97_info {
> - unsigned state;
> struct clk *ac97_clk;
> void __iomem *regs;
> struct mutex lock;
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