forked from Minki/linux
[ALSA] sound/pci/hda/patch_realtek.c: remove dead code
This patch removes some dead code spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
parent
3c2b576d58
commit
d10ad1a26d
@ -11182,8 +11182,6 @@ static int alc662_parse_auto_config(struct hda_codec *codec)
|
|||||||
spec->num_mux_defs = 1;
|
spec->num_mux_defs = 1;
|
||||||
spec->input_mux = &spec->private_imux;
|
spec->input_mux = &spec->private_imux;
|
||||||
|
|
||||||
if (err < 0)
|
|
||||||
return err;
|
|
||||||
spec->init_verbs[spec->num_init_verbs++] = alc662_auto_init_verbs;
|
spec->init_verbs[spec->num_init_verbs++] = alc662_auto_init_verbs;
|
||||||
spec->mixers[spec->num_mixers] = alc662_capture_mixer;
|
spec->mixers[spec->num_mixers] = alc662_capture_mixer;
|
||||||
spec->num_mixers++;
|
spec->num_mixers++;
|
||||||
|
Loading…
Reference in New Issue
Block a user