patch-2.3.10 linux/drivers/sound/cmpci.c

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

diff -u --recursive --new-file v2.3.9/linux/drivers/sound/cmpci.c linux/drivers/sound/cmpci.c
@@ -2311,9 +2311,7 @@
 		index++;
 		continue;
 
-	err_dev4:
 		unregister_sound_midi(s->dev_midi);
-	err_dev3:
 		unregister_sound_mixer(s->dev_mixer);
 	err_dev2:
 		unregister_sound_dsp(s->dev_audio);
@@ -2328,7 +2326,6 @@
 #ifdef CONFIG_SOUND_CMPCI_MIDI
 		release_region(s->iomidi, CM_EXTENT_MIDI);
 #endif
-	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)