Skip to contentSkip to conversation

hda: remove redundant get_amp_nid()

PATCH New Wu Fengguang 1 participant 1 message Nov 18, 2008 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hda: remove redundant get_amp_nid()

Remove get_amp_nid(): it duplicates the one defined in hda_local.h

---
 sound/pci/hda/patch_via.c |    2 --
 1 file changed, 2 deletions(-)
sound/pci/hda/patch_via.c +0 -2
@@ -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,