diff mbox

[v3] USB: musb: suppress warning about unused flags

Message ID 1273718026-14211-1-git-send-email-jon.povey@racelogic.co.uk (mailing list archive)
State Awaiting Upstream
Headers show

Commit Message

Jon Povey May 13, 2010, 2:33 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/usb/musb/cppi_dma.c b/drivers/usb/musb/cppi_dma.c
index 59dc3d3..e3753ba 100644
--- a/drivers/usb/musb/cppi_dma.c
+++ b/drivers/usb/musb/cppi_dma.c
@@ -1155,7 +1155,7 @@  irqreturn_t cppi_interrupt(int irq, void *dev_id)
 	struct musb_hw_ep	*hw_ep = NULL;
 	u32			rx, tx;
 	int			i, index;
-	unsigned long		flags;
+	unsigned long		uninitialized_var(flags);
 
 	cppi = container_of(musb->dma_controller, struct cppi, controller);
 	if (cppi->irq)