ALSA: usb: Remove unused variable
authorTakashi Iwai <tiwai@suse.de>
Fri, 13 Apr 2012 08:27:28 +0000 (10:27 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 13 Apr 2012 08:27:28 +0000 (10:27 +0200)
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>
sound/usb/endpoint.c

index d1ef3048dbba218f158f1bc55c510ea535563cde..8b695d5562e6e45ffaf62ecbc189c7614d358801 100644 (file)
@@ -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;