diff mbox

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

Message ID 70E876B0EA86DD4BAF101844BC814DFE08DE6D1432@Cloud.RL.local (mailing list archive)
State Superseded
Headers show

Commit Message

Jon Povey May 7, 2010, 9:09 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)