mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 17:23:55 +08:00
ALSA: usb-audio: sound/usb/endpoint.c: suppress warning
sound/usb/endpoint.c: In function 'queue_pending_output_urbs': sound/usb/endpoint.c:298: warning: 'packet' may be used uninitialized in this function Cc: Daniel Mack <zonque@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
baba2e0d2b
commit
68853fa30c
@ -295,7 +295,7 @@ static void queue_pending_output_urbs(struct snd_usb_endpoint *ep)
|
||||
while (test_bit(EP_FLAG_RUNNING, &ep->flags)) {
|
||||
|
||||
unsigned long flags;
|
||||
struct snd_usb_packet_info *packet;
|
||||
struct snd_usb_packet_info *uninitialized_var(packet);
|
||||
struct snd_urb_ctx *ctx = NULL;
|
||||
struct urb *urb;
|
||||
int err, i;
|
||||
|
Loading…
Reference in New Issue
Block a user