usb: musb: tusb: remove dead code
authorPaul Bolle <pebolle@tiscali.nl>
Sun, 4 May 2014 08:57:30 +0000 (10:57 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 14 May 2014 14:23:25 +0000 (09:23 -0500)
musb_in_tusb() is always set to 0, because CONFIG_USB_TUSB6010 is never
set (it should have been CONFIG_USB_MUSB_TUSB6010). But musb_in_tusb()
is unused anyway, so remove a few lines of dead code.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/tusb6010.h

index 35c933a..1864e24 100644 (file)
 
 extern u8 tusb_get_revision(struct musb *musb);
 
-#ifdef CONFIG_USB_TUSB6010
-#define musb_in_tusb()                 1
-#else
-#define musb_in_tusb()                 0
-#endif
-
 #ifdef CONFIG_USB_TUSB_OMAP_DMA
 #define tusb_dma_omap()                        1
 #else