ASoC: s3c: patch for the unnecessary variable 'state' removal
authorWan ZongShun <mcuos.com@gmail.com>
Wed, 2 Jun 2010 16:54:59 +0000 (00:54 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 3 Jun 2010 18:00:16 +0000 (19:00 +0100)
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@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/s3c24xx/s3c-ac97.c

index ecf4fd0..31f6d45 100644 (file)
@@ -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;