ALSA: snd-usb: use list_for_each_safe for endpoint resources
authorPavel Roskin <proski@gnu.org>
Thu, 30 Aug 2012 21:11:17 +0000 (17:11 -0400)
committerTakashi Iwai <tiwai@suse.de>
Fri, 31 Aug 2012 16:17:45 +0000 (18:17 +0200)
commit03d2f44e967b3c2cf79a6dfb904c8880616c7f83
treee709e782d833e38f7610fd03d549c0d7d0a3a8de
parent015618b902ae8e28705b7af9b4668615fea48ddd
ALSA: snd-usb: use list_for_each_safe for endpoint resources

snd_usb_endpoint_free() frees the structure that contains its argument.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Cc: stable@vger.kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.c