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-Tag: v2.6.36-rc1~6^2~4^2~88^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=749266cd91ae5862a986a8ea995f714b87f12b5d;p=platform%2Fkernel%2Flinux-exynos.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 ecf4fd0..31f6d45 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;