Commit 37cbccd3 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>

ALSA sequencer
remove superfluous call to snd_seq_event_port_detach
parent 38db0bd6
...@@ -443,7 +443,6 @@ snd_seq_midisynth_unregister_port(snd_seq_device_t *dev) ...@@ -443,7 +443,6 @@ snd_seq_midisynth_unregister_port(snd_seq_device_t *dev)
up(&register_mutex); up(&register_mutex);
return -ENODEV; return -ENODEV;
} }
snd_seq_event_port_detach(client->seq_client, client->ports[device]->seq_port);
ports = client->ports_per_device[device]; ports = client->ports_per_device[device];
client->ports_per_device[device] = 0; client->ports_per_device[device] = 0;
msynth = client->ports[device]; msynth = client->ports[device];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment