ALSA: usb-audio: remove deactivate_endpoints()
authorEldad Zack <eldad@fogrefinery.com>
Sun, 6 Oct 2013 20:31:07 +0000 (22:31 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 7 Oct 2013 08:52:13 +0000 (10:52 +0200)
commit26de5d0a8df0817a58422f6ad43019c47716ce1f
tree88dbe768ba5be50cc89f414188d6edf793956e1d
parent93721039903eab4a3d406e6fb095e2598093bc9c
ALSA: usb-audio: remove deactivate_endpoints()

The only call site for deactivate_endpoints() at snd_usb_hw_free().
The return value is not checked there, as it is irrelevant if it
fails on hw_free.
This patch moves the deactivation of the endpoints directly into
snd_usb_hw_free().

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/pcm.c