diff options
author | Wan ZongShun <mcuos.com@gmail.com> | 2010-06-02 12:54:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-06-03 14:00:16 -0400 |
commit | 749266cd91ae5862a986a8ea995f714b87f12b5d (patch) | |
tree | 0ce3def1782e4114592d710e84ab85b3c335573f | |
parent | b07adffbbcb258ac607c16c5af9bf4ec8d189d38 (diff) |
ASoC: s3c: patch for the unnecessary variable 'state' removal
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>
-rw-r--r-- | 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 ecf4fd04ae96..31f6d45b6384 100644 --- a/sound/soc/s3c24xx/s3c-ac97.c +++ b/sound/soc/s3c24xx/s3c-ac97.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #define AC_CMD_DATA(x) (x & 0xffff) | 31 | #define AC_CMD_DATA(x) (x & 0xffff) |
32 | 32 | ||
33 | struct s3c_ac97_info { | 33 | struct s3c_ac97_info { |
34 | unsigned state; | ||
35 | struct clk *ac97_clk; | 34 | struct clk *ac97_clk; |
36 | void __iomem *regs; | 35 | void __iomem *regs; |
37 | struct mutex lock; | 36 | struct mutex lock; |