patch-2.4.0-test3 linux/drivers/sound/cmpci.c

Next file: linux/drivers/sound/esssolo1.c
Previous file: linux/drivers/sgi/char/usema.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/drivers/sound/cmpci.c linux/drivers/sound/cmpci.c
@@ -312,7 +312,6 @@
 /* --------------------------------------------------------------------- */
 
 static struct cm_state *devs = NULL;
-static struct cm_state *devaudio = NULL;
 static unsigned long wavetable_mem = 0;
 
 /* --------------------------------------------------------------------- */
@@ -2462,10 +2461,8 @@
 	err_irq:
 		if(s->iosynth)
 			release_region(s->iosynth, CM_EXTENT_SYNTH);
-	err_region1:
 		if(s->iomidi)
 			release_region(s->iomidi, CM_EXTENT_MIDI);
-	err_region4:
 		release_region(s->iobase, CM_EXTENT_CODEC);
 	err_region5:
 		kfree_s(s, sizeof(struct cm_state));

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