diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-07-02 10:03:12 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-07-20 05:11:39 -0400 |
commit | d10ad1a26da03fe089c02846a95fa5938c3ca3ce (patch) | |
tree | a3a99e4a9f5e193c02da18166d3c5c5e5438e54b /sound | |
parent | 3c2b576d58b4542b1adc56cbfb92dbfa5eef89ee (diff) |
[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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 4bff20f76b08..5367d1377e11 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -11182,8 +11182,6 @@ static int alc662_parse_auto_config(struct hda_codec *codec) | |||
11182 | spec->num_mux_defs = 1; | 11182 | spec->num_mux_defs = 1; |
11183 | spec->input_mux = &spec->private_imux; | 11183 | spec->input_mux = &spec->private_imux; |
11184 | 11184 | ||
11185 | if (err < 0) | ||
11186 | return err; | ||
11187 | spec->init_verbs[spec->num_init_verbs++] = alc662_auto_init_verbs; | 11185 | spec->init_verbs[spec->num_init_verbs++] = alc662_auto_init_verbs; |
11188 | spec->mixers[spec->num_mixers] = alc662_capture_mixer; | 11186 | spec->mixers[spec->num_mixers] = alc662_capture_mixer; |
11189 | spec->num_mixers++; | 11187 | spec->num_mixers++; |