summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_generic.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-12-20 17:05:20 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-12 08:34:24 +0100
commit545502de54c5ec31222915e5b977a86d603cec86 (patch)
tree680a0f210f4cee7a42350cbdaca56aba90909c6e /sound/pci/hda/hda_generic.h
parentALSA: hda - Fix PCM name string for generic parser (diff)
downloadlinux-545502de54c5ec31222915e5b977a86d603cec86.tar.xz
linux-545502de54c5ec31222915e5b977a86d603cec86.zip
ALSA: hda - Drop spec->channel_mode field from hda_gen_spec
It's never used in the generic parser. It was there from the old Realtek code, which has been dropped quite ago, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.h')
-rw-r--r--sound/pci/hda/hda_generic.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h
index a406cd4cf072..6365140924af 100644
--- a/sound/pci/hda/hda_generic.h
+++ b/sound/pci/hda/hda_generic.h
@@ -101,8 +101,6 @@ struct hda_gen_spec {
unsigned int cur_mux[3];
/* channel model */
- const struct hda_channel_mode *channel_mode;
- int num_channel_mode;
int const_channel_count; /* min. channel count (for speakers) */
int ext_channel_count; /* current channel count for multi-io */