[U-Boot] [RFC PATCH V3 1/1] Remove obsolete command (apply afte USB style patch, 80 chars strict)

Michael Trimarchi trimarchi at gandalf.sssup.it
Wed Nov 26 17:40:37 CET 2008


Remove USB obsolete commmand

Signed-off-by: Michael Trimarchi <trimarchi at gandalf.sssup.it>

---
 common/cmd_usb.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/common/cmd_usb.c b/common/cmd_usb.c
index 8a8dca9..8b19240 100644
--- a/common/cmd_usb.c
+++ b/common/cmd_usb.c
@@ -579,15 +579,6 @@ int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 		return 0;
 	}
 #ifdef CONFIG_USB_STORAGE
-	if (strncmp(argv[1], "scan", 4) == 0) {
-		printf("  NOTE: this command is obsolete and will be"
-			" phased out\n");
-		printf("  please use 'usb storage' for USB storage devices"
-			" information\n\n");
-		usb_stor_info();
-		return 0;
-	}
-
 	if (strncmp(argv[1], "stor", 4) == 0)
 		return usb_stor_info();
 
-- 
1.5.6.5



More information about the U-Boot mailing list