Skip to content

Commit

Permalink
[ALSA] sound: ice1712: unused structs
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
hharrison authored and tiwai committed Feb 29, 2008
1 parent 3fffe87 commit 008f359
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sound/pci/ice1712/phase.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion sound/pci/ice1712/revo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 008f359

Please sign in to comment.