summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-10-28 12:00:35 +0100
committerTakashi Iwai <tiwai@suse.de>2013-10-29 11:37:30 +0100
commitca16ec02e1887cc88e9eb3504ee8ea6d8112d05d (patch)
treee643cfb6aa31c46e2839b60a2c08f51133a37ee6 /sound/pci/hda/patch_realtek.c
parent57d8ff617f871eee11bb2f648505592c2e859d0f (diff)
downloadop-kernel-dev-ca16ec02e1887cc88e9eb3504ee8ea6d8112d05d.zip
op-kernel-dev-ca16ec02e1887cc88e9eb3504ee8ea6d8112d05d.tar.gz
ALSA: hda - Remove locally dead codes
Reported by coverity. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 1f0a040..8947035 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -554,8 +554,6 @@ do_sku:
nid = portd;
else if (tmp == 3)
nid = porti;
- else
- return 1;
if (found_in_nid_list(nid, spec->gen.autocfg.line_out_pins,
spec->gen.autocfg.line_outs))
return 1;
OpenPOWER on IntegriCloud