소스 검색

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>
Wu Fengguang 16 년 전
부모
커밋
2eca83ba9c
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      sound/pci/hda/patch_via.c

+ 0 - 2
sound/pci/hda/patch_via.c

@@ -142,8 +142,6 @@ enum {
 	AUTO_SEQ_SIDE
 	AUTO_SEQ_SIDE
 };
 };
 
 
-#define get_amp_nid(kc)	((kc)->private_value & 0xffff)
-
 /* Some VT1708S based boards gets the micboost setting wrong, so we have
 /* 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. */
  * 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,
 static int mic_boost_tlv(struct snd_kcontrol *kcontrol, int op_flag,