diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2008-11-17 21:21:55 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-18 01:38:28 -0500 |
commit | 2eca83ba9cc6f811f8c63314b22b4bc0532e2207 (patch) | |
tree | e28f4ad8c9b75d87b8e96f7dd4e972162014d04b /sound/pci/hda/patch_via.c | |
parent | 796359d150356adabb677d708a4e66a09d29d9d8 (diff) |
ALSA: hda: remove redundant get_amp_nid()
Remove get_amp_nid(): it duplicates the one defined in hda_local.h
Signed-off-by: Wu Fengguang <wfg@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_via.c')
-rw-r--r-- | sound/pci/hda/patch_via.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index 760e14ae3bff..05182be1c9f0 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c | |||
@@ -142,8 +142,6 @@ enum { | |||
142 | AUTO_SEQ_SIDE | 142 | AUTO_SEQ_SIDE |
143 | }; | 143 | }; |
144 | 144 | ||
145 | #define get_amp_nid(kc) ((kc)->private_value & 0xffff) | ||
146 | |||
147 | /* Some VT1708S based boards gets the micboost setting wrong, so we have | 145 | /* Some VT1708S based boards gets the micboost setting wrong, so we have |
148 | * to apply some brute-force and re-write the TLV's by software. */ | 146 | * to apply some brute-force and re-write the TLV's by software. */ |
149 | static int mic_boost_tlv(struct snd_kcontrol *kcontrol, int op_flag, | 147 | static int mic_boost_tlv(struct snd_kcontrol *kcontrol, int op_flag, |