projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e614dd
)
ALSA: hda - Remove unused dac reference in create_multi_out_ctls()
author
Takashi Iwai
<tiwai@suse.de>
Mon, 7 Jan 2013 14:14:00 +0000
(15:14 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Sat, 12 Jan 2013 07:44:04 +0000
(08:44 +0100)
Remove useless code.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_generic.c
b/sound/pci/hda/hda_generic.c
index 3f9439c39311578d5bdff48ad503b9c3b955ba49..1fbc1b32359c9d41fb83014903f7763a743a201d 100644
(file)
--- a/
sound/pci/hda/hda_generic.c
+++ b/
sound/pci/hda/hda_generic.c
@@
-1428,12
+1428,8
@@
static int create_multi_out_ctls(struct hda_codec *codec,
for (i = 0; i < noutputs; i++) {
const char *name;
int index;
- hda_nid_t dac;
struct nid_path *path;
- dac = spec->multiout.dac_nids[i];
- if (!dac)
- continue;
if (i >= cfg->line_outs) {
index = 0;
name = channel_name[i];