[ALSA] sound/pci/hda/patch_realtek.c: remove dead code
authorAdrian Bunk <[email protected]>
Mon, 2 Jul 2007 14:03:12 +0000 (16:03 +0200)
committerJaroslav Kysela <[email protected]>
Fri, 20 Jul 2007 09:11:39 +0000 (11:11 +0200)
This patch removes some dead code spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
sound/pci/hda/patch_realtek.c

index 4bff20f76b0811d3114592d95d5f27929a365aa9..5367d1377e11d46ab07f92cdfd96007460946fab 100644 (file)
@@ -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++;