Commit d4af7ca2 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen Committed by Takashi Iwai

ALSA: emu10k1: remove obsolete card type variable and defines

The use of the variable was removed in commit 2b637da5 ("clean up
card features"). That commit also broke user space (the ioctl
structure), at which point the defines became meaningless, so I don't
think purging them is a problem.
Signed-off-by: default avatarOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230421141006.1005452-3-oswald.buddenhagen@gmx.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b9468c41
...@@ -1689,7 +1689,6 @@ struct snd_emu10k1 { ...@@ -1689,7 +1689,6 @@ struct snd_emu10k1 {
unsigned int revision; /* chip revision */ unsigned int revision; /* chip revision */
unsigned int serial; /* serial number */ unsigned int serial; /* serial number */
unsigned short model; /* subsystem id */ unsigned short model; /* subsystem id */
unsigned int card_type; /* EMU10K1_CARD_* */
unsigned int ecard_ctrl; /* ecard control bits */ unsigned int ecard_ctrl; /* ecard control bits */
unsigned int address_mode; /* address mode */ unsigned int address_mode; /* address mode */
unsigned long dma_mask; /* PCI DMA mask */ unsigned long dma_mask; /* PCI DMA mask */
......
...@@ -15,9 +15,6 @@ ...@@ -15,9 +15,6 @@
* ---- FX8010 ---- * ---- FX8010 ----
*/ */
#define EMU10K1_CARD_CREATIVE 0x00000000
#define EMU10K1_CARD_EMUAPS 0x00000001
#define EMU10K1_FX8010_PCM_COUNT 8 #define EMU10K1_FX8010_PCM_COUNT 8
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment