summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/usb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd/usb.c b/cmd/usb.c
index 23253f22231..8ddda5a0d89 100644
--- a/cmd/usb.c
+++ b/cmd/usb.c
@@ -26,9 +26,6 @@
#ifdef CONFIG_USB_STORAGE
static int usb_stor_curr_dev = -1; /* current device */
#endif
-#if defined(CONFIG_USB_HOST_ETHER) && !defined(CONFIG_DM_ETH)
-static int __maybe_unused usb_ether_curr_dev = -1; /* current ethernet device */
-#endif
/* some display routines (info command) */
static char *usb_get_class_desc(unsigned char dclass)