aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorWan ZongShun <mcuos.com@gmail.com>2010-06-03 00:54:59 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-06-03 19:00:16 +0100
commit749266cd91ae5862a986a8ea995f714b87f12b5d (patch)
tree0ce3def1782e4114592d710e84ab85b3c335573f /sound
parentb07adffbbcb258ac607c16c5af9bf4ec8d189d38 (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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/s3c24xx/s3c-ac97.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/s3c24xx/s3c-ac97.c b/sound/soc/s3c24xx/s3c-ac97.c
index ecf4fd04ae9..31f6d45b638 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;