Skip to contentSkip to conversation

sound/spi: patch for the unuseful variable removal

PATCH Mark Brown 3 participants 4 messages Jun 7, 2010 – Jun 8, 2010 1 message not in the archive

lore
Share & tools
lore
Acked-by
#4 lore raw
In reply to a message not in the archive
Quoted 13 lines · Wan ZongShun

The '*bitclk' of structure 'snd_at73c213' seems no use ,so I make a patch to remove the unnecessary variable.

---
 sound/spi/at73c213.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
sound/spi/at73c213.c +0 -0
index 4c7b051..1bc56b2 100644

sound/spi/at73c213.c struct snd_at73c213 { · line 74

Quoted 7 lines
sound/spi/at73c213.c +0 -1
@@ -69,7 +69,6 @@ struct snd_at73c213 {
 	int				irq;
 	int				period;
 	unsigned long			bitrate;
-	struct clk			*bitclk;
 	struct ssc_device		*ssc;
 	struct spi_device		*spi;
 	u8				spi_wbuffer[2];
Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
#2 lore raw
In reply to Mark Brown

At Mon, 7 Jun 2010 14:01:13 +0100,

Quoted 9 lines · Mark Brown
Quoted 4 lines · Wan ZongShun

The '*bitclk' of structure 'snd_at73c213' seems no use ,so I make a patch to remove the unnecessary variable.

We should probably just remove this driver, it should be done within ASoC rather than like this.

In that case, we should put the driver first as deprecated and give some removal schedule.

Anyway, I applied the patch now with Liam's ack.

thanks,

Takashi

author
#3 lore raw
Quoted 1 line · Takashi Iwai

Anyway, I applied the patch now with Liam's ack.

OK - feel free to add mine also.