aboutsummaryrefslogtreecommitdiff
path: root/cmd/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/usb.c')
-rw-r--r--cmd/usb.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/cmd/usb.c b/cmd/usb.c
index 2ba0569..73addb0 100644
--- a/cmd/usb.c
+++ b/cmd/usb.c
@@ -591,16 +591,6 @@ static void do_usb_start(void)
drv_usb_kbd_init();
# endif
#endif /* !CONFIG_DM_USB */
-#ifdef CONFIG_USB_HOST_ETHER
-# ifdef CONFIG_DM_ETH
-# ifndef CONFIG_DM_USB
-# error "You must use CONFIG_DM_USB if you want to use CONFIG_USB_HOST_ETHER with CONFIG_DM_ETH"
-# endif
-# else
- /* try to recognize ethernet devices immediately */
- usb_ether_curr_dev = usb_host_eth_scan(1);
-# endif
-#endif
}
#ifdef CONFIG_DM_USB