Skip to content

Commit

Permalink
[ALSA] sound/pci/hda/patch_realtek.c: remove dead code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Jaroslav Kysela committed Jul 20, 2007
1 parent 3c2b576 commit d10ad1a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -11182,8 +11182,6 @@ static int alc662_parse_auto_config(struct hda_codec *codec)
spec->num_mux_defs = 1;
spec->input_mux = &spec->private_imux;

if (err < 0)
return err;
spec->init_verbs[spec->num_init_verbs++] = alc662_auto_init_verbs;
spec->mixers[spec->num_mixers] = alc662_capture_mixer;
spec->num_mixers++;
Expand Down

0 comments on commit d10ad1a

Please sign in to comment.