All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hda: remove redundant get_amp_nid()
@ 2008-11-17 13:55 Wu Fengguang
  0 siblings, 0 replies; 2+ messages in thread
From: Wu Fengguang @ 2008-11-17 13:55 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

Signed-off-by: Wu Fengguang <wfg@linux.intel.com>
---
 sound/pci/hda/patch_via.c |    2 --
 1 file changed, 2 deletions(-)

--- sound-2.6.orig/sound/pci/hda/patch_via.c
+++ sound-2.6/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,

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [PATCH] hda: remove redundant get_amp_nid()
@ 2008-11-18  2:21 Wu Fengguang
  0 siblings, 0 replies; 2+ messages in thread
From: Wu Fengguang @ 2008-11-18  2:21 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

Signed-off-by: Wu Fengguang <wfg@linux.intel.com>
---
 sound/pci/hda/patch_via.c |    2 --
 1 file changed, 2 deletions(-)

--- sound-2.6.orig/sound/pci/hda/patch_via.c
+++ sound-2.6/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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-18  2:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-17 13:55 [PATCH] hda: remove redundant get_amp_nid() Wu Fengguang
  -- strict thread matches above, loose matches on Subject: below --
2008-11-18  2:21 Wu Fengguang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.