aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-at91.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-07-07 14:12:07 -0400
committerTom Rini <trini@konsulko.com>2022-07-07 14:29:37 -0400
commitea92f95d630cba9c3a324d250258ad2e35d9c997 (patch)
tree68ad93bb452ccf3873a9b457a8cca9ea7e3c1916 /drivers/usb/host/ohci-at91.c
parentcb9843bda3e500eb4add1927be4ed72077a69774 (diff)
parentc45568cc4e51b7bbe2f3ce28d8f2566048aeebf3 (diff)
Merge branch '2022-07-07-Kconfig-migrations-dead-code-removal' into next
- Migrate more CONFIG options to Kconfig and remove some unused code while we're at it.
Diffstat (limited to 'drivers/usb/host/ohci-at91.c')
-rw-r--r--drivers/usb/host/ohci-at91.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c
index 8ceabaf45c..9b955c1bd6 100644
--- a/drivers/usb/host/ohci-at91.c
+++ b/drivers/usb/host/ohci-at91.c
@@ -5,9 +5,6 @@
*/
#include <common.h>
-
-#if defined(CONFIG_USB_OHCI_NEW) && defined(CONFIG_SYS_USB_OHCI_CPU_INIT)
-
#include <asm/arch/clk.h>
int usb_cpu_init(void)
@@ -65,5 +62,3 @@ int usb_cpu_init_fail(void)
{
return usb_cpu_stop();
}
-
-#endif /* defined(CONFIG_USB_OHCI) && defined(CONFIG_SYS_USB_OHCI_CPU_INIT) */