summaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-04-13 10:27:28 +0200
committerTakashi Iwai <tiwai@suse.de>2012-04-13 10:27:28 +0200
commitc5ee4ec82801d11c67836565539acd3b47100208 (patch)
tree0eaa068a3385b441466f8936d389b2c23c25ee44 /sound/usb
parent94c27215bc5b7941a52d3d3a02d904bfdcd5fe5e (diff)
downloadlinux-stable-c5ee4ec82801d11c67836565539acd3b47100208.tar.gz
linux-stable-c5ee4ec82801d11c67836565539acd3b47100208.tar.bz2
linux-stable-c5ee4ec82801d11c67836565539acd3b47100208.zip
ALSA: usb: Remove unused variable
sound/usb/endpoint.c: In function ‘deactivate_urbs’: sound/usb/endpoint.c:520:16: warning: unused variable ‘flags’ [-Wunused-variable] Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/endpoint.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c
index d1ef3048dbba..8b695d5562e6 100644
--- a/sound/usb/endpoint.c
+++ b/sound/usb/endpoint.c
@@ -517,7 +517,6 @@ static int wait_clear_urbs(struct snd_usb_endpoint *ep)
*/
static int deactivate_urbs(struct snd_usb_endpoint *ep, int force, int can_sleep)
{
- unsigned long flags;
unsigned int i;
int async;