aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-04-25 04:34:13 -0400
committerJaroslav Kysela <perex@suse.cz>2005-05-29 04:05:14 -0400
commitee7333970bee3e7565feeb3edfef4db81cbe72e5 (patch)
tree418eb84e58d8d6f85ceafffc03fe37119728987d /sound/usb/usbaudio.c
parent8e062ec7108f8a91149e6bccddc3b7341e406274 (diff)
[ALSA] usb-audio - remove superfluous parameter
USB generic driver,USB USX2Y This patch removes the superfluous driver parameter from the disconnect functions. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/usb/usbaudio.c')
-rw-r--r--sound/usb/usbaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c
index a7183c5876b3..08c5efcf5be2 100644
--- a/sound/usb/usbaudio.c
+++ b/sound/usb/usbaudio.c
@@ -2588,7 +2588,7 @@ static int parse_audio_endpoints(snd_usb_audio_t *chip, int iface_no)
2588 * disconnect streams 2588 * disconnect streams
2589 * called from snd_usb_audio_disconnect() 2589 * called from snd_usb_audio_disconnect()
2590 */ 2590 */
2591static void snd_usb_stream_disconnect(struct list_head *head, struct usb_driver *driver) 2591static void snd_usb_stream_disconnect(struct list_head *head)
2592{ 2592{
2593 int idx; 2593 int idx;
2594 snd_usb_stream_t *as; 2594 snd_usb_stream_t *as;
@@ -3282,11 +3282,11 @@ static void snd_usb_audio_disconnect(struct usb_device *dev, void *ptr)
3282 snd_card_disconnect(card); 3282 snd_card_disconnect(card);
3283 /* release the pcm resources */ 3283 /* release the pcm resources */
3284 list_for_each(p, &chip->pcm_list) { 3284 list_for_each(p, &chip->pcm_list) {
3285 snd_usb_stream_disconnect(p, &usb_audio_driver); 3285 snd_usb_stream_disconnect(p);
3286 } 3286 }
3287 /* release the midi resources */ 3287 /* release the midi resources */
3288 list_for_each(p, &chip->midi_list) { 3288 list_for_each(p, &chip->midi_list) {
3289 snd_usbmidi_disconnect(p, &usb_audio_driver); 3289 snd_usbmidi_disconnect(p);
3290 } 3290 }
3291 usb_chip[chip->index] = NULL; 3291 usb_chip[chip->index] = NULL;
3292 up(&register_mutex); 3292 up(&register_mutex);