Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22a82507 authored by Paul Bolle's avatar Paul Bolle Committed by Felipe Balbi
Browse files

usb: musb: tusb: remove dead code



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: default avatarPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 411dd19c
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -14,12 +14,6 @@

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