Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31209
b: refs/heads/master
c: be7ee27
h: refs/heads/master
i:
  31207: 148e2f7
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jun 28, 2006
1 parent 1e2f777 commit 919c80e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2e1b0cc729ebbf27713a64a32c49e27fa81e600
refs/heads/master: be7ee27822975cee5dabb2cfd7f03e7fde38e3f4
6 changes: 2 additions & 4 deletions trunk/sound/core/seq/seq_ports.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,8 @@ int snd_seq_delete_all_ports(struct snd_seq_client *client)
mutex_lock(&client->ports_mutex);
write_lock_irqsave(&client->ports_lock, flags);
if (! list_empty(&client->ports_list_head)) {
__list_add(&deleted_list,
client->ports_list_head.prev,
client->ports_list_head.next);
INIT_LIST_HEAD(&client->ports_list_head);
list_add(&deleted_list, &client->ports_list_head);
list_del_init(&client->ports_list_head);
} else {
INIT_LIST_HEAD(&deleted_list);
}
Expand Down

0 comments on commit 919c80e

Please sign in to comment.