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 ecf4fd04ae9651c2a264c9428fcf6d1caae6777f..31f6d45b6384f2f0e0e4e5a351acc79a6f47520b 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;