Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322479
b: refs/heads/master
c: 03d2f44
h: refs/heads/master
i:
  322477: 53e8731
  322475: e5eddcf
  322471: f75d32b
  322463: f202676
v: v3
  • Loading branch information
Pavel Roskin authored and Takashi Iwai committed Aug 31, 2012
1 parent f698709 commit abcbe9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 015618b902ae8e28705b7af9b4668615fea48ddd
refs/heads/master: 03d2f44e967b3c2cf79a6dfb904c8880616c7f83
4 changes: 2 additions & 2 deletions trunk/sound/usb/card.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ static void snd_usb_audio_disconnect(struct usb_device *dev,
struct snd_usb_audio *chip)
{
struct snd_card *card;
struct list_head *p;
struct list_head *p, *n;

if (chip == (void *)-1L)
return;
Expand All @@ -570,7 +570,7 @@ static void snd_usb_audio_disconnect(struct usb_device *dev,
snd_usb_stream_disconnect(p);
}
/* release the endpoint resources */
list_for_each(p, &chip->ep_list) {
list_for_each_safe(p, n, &chip->ep_list) {
snd_usb_endpoint_free(p);
}
/* release the midi resources */
Expand Down

0 comments on commit abcbe9b

Please sign in to comment.