Skip to contentSkip to conversation

Remove obsolete command (apply afte USB style patch, 80 chars strict)

RFC PATCH New Michael Trimarchi 1 participant 1 message Nov 26, 2008

lore
Share & tools
lore
#0 lore raw

RFC PATCH v3 1/1 Remove obsolete command (apply afte USB style patch, 80 chars strict)

Remove USB obsolete commmand

---
 common/cmd_usb.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
common/cmd_usb.c +0 -9
index 8a8dca9..8b19240 100644
@@ -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();
 
Signature · 1 line
1.5.6.5