[ALSA] sound: ice1712: unused structs
authorHarvey Harrison <harvey.harrison@gmail.com>
Fri, 29 Feb 2008 10:46:32 +0000 (11:46 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Feb 2008 11:11:25 +0000 (12:11 +0100)
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?

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/phase.c
sound/pci/ice1712/revo.c

index 9ab4a9f383cbb19b69834a7b27be19e759ea80db..5a158b73dcaa2050211bf55291d3de67b0621ebd 100644 (file)
@@ -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 */
index ddd5fc8d4fe12e9bbd3e61db39e95b8e07381826..301bf929acd9018310fe96b94c1c37ce521f05e2 100644 (file)
@@ -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)
 {