diff options
author | Daniel Mack <zonque@gmail.com> | 2012-04-21 13:52:12 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-04-21 17:40:28 +0200 |
commit | c89a5d9cacf2b862fea986a30b75359f6cf997c1 (patch) | |
tree | d3c450a860f18028dd7d509159bc08c7b76dd804 /sound/usb/proc.c | |
parent | f6e94c372e3d37e25728275dfe60ad591d207a50 (diff) | |
download | linux-3.10-c89a5d9cacf2b862fea986a30b75359f6cf997c1.tar.gz linux-3.10-c89a5d9cacf2b862fea986a30b75359f6cf997c1.tar.bz2 linux-3.10-c89a5d9cacf2b862fea986a30b75359f6cf997c1.zip |
ALSA: snd-usb: remove refactorization left-overs
Drop some struct members and definitions that became obsolete during
the refactorization of the driver.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/proc.c')
-rw-r--r-- | sound/usb/proc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sound/usb/proc.c b/sound/usb/proc.c index 06e23d89d11..ebc1a5b5b3f 100644 --- a/sound/usb/proc.c +++ b/sound/usb/proc.c @@ -25,6 +25,7 @@ #include "usbaudio.h" #include "helper.h" #include "card.h" +#include "endpoint.h" #include "proc.h" /* convert our full speed USB rate into sampling rate in Hz */ @@ -137,14 +138,9 @@ static void proc_dump_ep_status(struct snd_usb_substream *subs, static void proc_dump_substream_status(struct snd_usb_substream *subs, struct snd_info_buffer *buffer) { if (subs->running) { - unsigned int i; snd_iprintf(buffer, " Status: Running\n"); snd_iprintf(buffer, " Interface = %d\n", subs->interface); snd_iprintf(buffer, " Altset = %d\n", subs->altset_idx); - snd_iprintf(buffer, " URBs = %d [ ", subs->nurbs); - for (i = 0; i < subs->nurbs; i++) - snd_iprintf(buffer, "%d ", subs->dataurb[i].packets); - snd_iprintf(buffer, "]\n"); proc_dump_ep_status(subs, subs->data_endpoint, buffer); proc_dump_ep_status(subs, subs->sync_endpoint, buffer); } else { |