patch-2.4.23 linux-2.4.23/drivers/sound/ymfpci.c

Next file: linux-2.4.23/drivers/usb/Config.in
Previous file: linux-2.4.23/drivers/sound/i810_audio.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/sound/ymfpci.c linux-2.4.23/drivers/sound/ymfpci.c
@@ -2474,7 +2474,6 @@
 	eid = ymfpci_codec_read(codec, AC97_EXTENDED_ID);
 	if (eid==0xFFFF) {
 		printk(KERN_WARNING "ymfpci: no codec attached ?\n");
-		goto out_kfree;
 	}
 
 	unit->ac97_features = eid;
@@ -2626,7 +2625,6 @@
  out_release_region:
 	release_mem_region(pci_resource_start(pcidev, 0), 0x8000);
  out_free:
-	ac97_release_codec(codec->ac97_codec[0]);
 	return -ENODEV;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)