From: Wu Fengguang Date: Tue, 18 Nov 2008 02:21:55 +0000 (+0800) Subject: ALSA: hda: remove redundant get_amp_nid() X-Git-Tag: v2.6.29-rc1~590^2~6^2~91 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2eca83ba9cc6f811f8c63314b22b4bc0532e2207;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index 760e14ae3bf..05182be1c9f 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c @@ -142,8 +142,6 @@ enum { AUTO_SEQ_SIDE }; -#define get_amp_nid(kc) ((kc)->private_value & 0xffff) - /* Some VT1708S based boards gets the micboost setting wrong, so we have * to apply some brute-force and re-write the TLV's by software. */ static int mic_boost_tlv(struct snd_kcontrol *kcontrol, int op_flag,