projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
796359d
)
ALSA: hda: remove redundant get_amp_nid()
author
Wu Fengguang
<fengguang.wu@intel.com>
Tue, 18 Nov 2008 02:21:55 +0000
(10:21 +0800)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 18 Nov 2008 06:38:28 +0000
(07:38 +0100)
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>
sound/pci/hda/patch_via.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_via.c
b/sound/pci/hda/patch_via.c
index 760e14ae3bffaa36e9291c5dfecd649bd91caed7..05182be1c9f057d59cd3a2597a77964a9f1efa4a 100644
(file)
--- 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,