]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
MUSB: Kill compile warnings at drivers/usb/musb/tusb6010.c
authorFelipe Balbi <felipe.lima@indt.org.br>
Mon, 27 Aug 2007 19:11:45 +0000 (15:11 -0400)
committerTony Lindgren <tony@atomide.com>
Fri, 31 Aug 2007 16:47:06 +0000 (09:47 -0700)
Get rid of the following warning:
drivers/usb/musb/tusb6010.c: In function 'tusb_otg_ints':
drivers/usb/musb/tusb6010.c:716: warning: unused variable 'devctl'

Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/tusb6010.c

index 23840dcab78c10f9661d5faeeb10763810a8ce10..562eb9d707d145f24dbba658036848a61c81e8a0 100644 (file)
@@ -713,8 +713,6 @@ tusb_otg_ints(struct musb *musb, u32 int_src, void __iomem *base)
                        schedule_work(&musb->irq_work);
 
                } else /* A-dev state machine */ {
-                       u8      devctl;
-
                        DBG(2, "vbus change, %s, otg %03x\n",
                                otg_state_string(musb), otg_stat);