Skip to contentSkip to conversation

AsoC/s3c: patch for the unnecessary variable 'state' removal

PATCH Applied Liam Girdwood 2 participants 2 messages Jun 3, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Liam Girdwood

author Acked-by
#1 lore raw
Quoted 13 lines · Wan ZongShun

The variable 'state' of structure 's3c_ac97_info' seems no use here, so this patch is to remove the unnecessary variable.

---
 sound/soc/s3c24xx/s3c-ac97.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
sound/soc/s3c24xx/s3c-ac97.c +0 -0
index ecf4fd0..31f6d45 100644

sound/soc/s3c24xx/s3c-ac97.c line 36

Quoted 7 lines
sound/soc/s3c24xx/s3c-ac97.c +0 -1
@@ -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;
Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk