summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/tusb6010.h
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2014-05-04 10:57:30 +0200
committerFelipe Balbi <balbi@ti.com>2014-05-14 16:23:25 +0200
commit22a825079a75560e01fa3307229713ff29cc7aa2 (patch)
treea9dbf785b458817e8deee5359be315ce98730267 /drivers/usb/musb/tusb6010.h
parentusb: musb: Kconfig: Select the DMA driver if DMA mode of MUSB is enabled (diff)
downloadlinux-22a825079a75560e01fa3307229713ff29cc7aa2.tar.xz
linux-22a825079a75560e01fa3307229713ff29cc7aa2.zip
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: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/tusb6010.h')
-rw-r--r--drivers/usb/musb/tusb6010.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/musb/tusb6010.h b/drivers/usb/musb/tusb6010.h
index 35c933a5d991..1864e24ac965 100644
--- a/drivers/usb/musb/tusb6010.h
+++ b/drivers/usb/musb/tusb6010.h
@@ -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