[alsa-devel] [PATCH 1/3] ALSA: usb: Remove unused variable

Takashi Iwai tiwai at suse.de
Fri Apr 13 21:27:43 CEST 2012


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 at suse.de>
---
 sound/usb/endpoint.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c
index d1ef304..8b695d5 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;
 
-- 
1.7.9.2



More information about the Alsa-devel mailing list