mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
ALSA: hda - Remove unused dac reference in create_multi_out_ctls()
Remove useless code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
0e614dd058
commit
50b1548775
1 changed files with 0 additions and 4 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue