提交 50b15487 编写于 作者: T Takashi Iwai

ALSA: hda - Remove unused dac reference in create_multi_out_ctls()

Remove useless code.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 0e614dd0
......@@ -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];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册