From: Wan ZongShun Date: Wed, 2 Jun 2010 16:54:59 +0000 (+0800) Subject: ASoC: s3c: patch for the unnecessary variable 'state' removal X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=749266cd91ae5862a986a8ea995f714b87f12b5d;p=linux-beck.git 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 Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- 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 @@ #define AC_CMD_DATA(x) (x & 0xffff) struct s3c_ac97_info { - unsigned state; struct clk *ac97_clk; void __iomem *regs; struct mutex lock;