patch-2.1.122 linux/drivers/sound/sb_midi.c

Next file: linux/drivers/sound/sb_mixer.c
Previous file: linux/drivers/sound/sb_common.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.121/linux/drivers/sound/sb_midi.c linux/drivers/sound/sb_midi.c
@@ -182,8 +182,6 @@
 		printk(KERN_ERR "sb_midi: too many MIDI devices detected\n");
 		return;
 	}
-	std_midi_synth.midi_dev = dev;
-	devc->my_mididev = dev;
 	std_midi_synth.midi_dev = devc->my_mididev = dev;
 	midi_devs[dev] = (struct midi_operations *)kmalloc(sizeof(struct midi_operations), GFP_KERNEL);
 	if (midi_devs[dev] == NULL)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov