Skip to contentSkip to conversation

sound: ice1712: unused structs

PATCH In review Harvey Harrison 1 participant 1 message Feb 28, 2008 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 4/8 sound: ice1712: unused structs

Don't need to declare a struct when defining a structure layout. Both
of these structs are unused.
sound/pci/ice1712/revo.c:39:3: warning: symbol 'revo51' was not declared. Should it be static? sound/pci/ice1712/phase.c:54:3: warning: symbol 'phase28' was not declared. Should it be static?

---
 sound/pci/ice1712/phase.c |    2 +-
 sound/pci/ice1712/revo.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
sound/pci/ice1712/phase.c +1 -1
index 9ab4a9f..5a158b7 100644
@@ -51,7 +51,7 @@
 struct phase28_spec {
 	unsigned short master[2];
 	unsigned short vol[8];
-} phase28;
+};
 
 /* WM8770 registers */
 #define WM_DAC_ATTEN		0x00	/* DAC1-8 analog attenuation */
sound/pci/ice1712/revo.c +1 -1
index ddd5fc8..301bf92 100644
@@ -36,7 +36,7 @@
 struct revo51_spec {
 	struct snd_i2c_device *dev;
 	struct snd_pt2258 *pt2258;
-} revo51;
+};
 
 static void revo_i2s_mclk_changed(struct snd_ice1712 *ice)
 {
Signature · 1 line
1.5.4.3.342.g99e8