summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-06-24 10:43:48 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-06-24 11:42:25 +0200
commit17ef55f6d649440100180906e65cf244c967b765 (patch)
treec07bddc75837dc8c0fabaecaabc1fffd264e5c1e /drivers
parent2f64aa66abc67be70b0e963bdfd70a2b72f4a942 (diff)
downloadbarebox-17ef55f6d649440100180906e65cf244c967b765.tar.gz
barebox-17ef55f6d649440100180906e65cf244c967b765.tar.xz
ehci: remove unused code
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/usb_ehci.h4
-rw-r--r--drivers/usb/usb_ehci_core.c5
2 files changed, 0 insertions, 9 deletions
diff --git a/drivers/usb/usb_ehci.h b/drivers/usb/usb_ehci.h
index b3c1d5d728..af4924955f 100644
--- a/drivers/usb/usb_ehci.h
+++ b/drivers/usb/usb_ehci.h
@@ -187,8 +187,4 @@ struct QH {
uint8_t fill[16];
};
-/* Low level init functions */
-int ehci_hcd_init(void);
-int ehci_hcd_stop(void);
-
#endif /* USB_EHCI_H */
diff --git a/drivers/usb/usb_ehci_core.c b/drivers/usb/usb_ehci_core.c
index fe988c3b87..af066de4ba 100644
--- a/drivers/usb/usb_ehci_core.c
+++ b/drivers/usb/usb_ehci_core.c
@@ -801,11 +801,6 @@ static int ehci_init(struct usb_host *host)
if (ehci_reset(ehci) != 0)
return -1;
-#if defined(CONFIG_EHCI_HCD_INIT_AFTER_RESET)
- if (ehci_hcd_init() != 0)
- return -1;
-#endif
-
/* Set head of reclaim list */
ehci->qhp = xzalloc(sizeof(struct QH) + 32);
ehci->qh_list = (struct QH *)(((unsigned long)ehci->qhp + 32) & ~31);