Remove obsolete command (apply afte USB style patch, 80 chars strict)
authorMichael Trimarchi <trimarchi@gandalf.sssup.it>
Wed, 26 Nov 2008 16:40:37 +0000 (17:40 +0100)
committerRemy Böhmer <linux@bohmer.net>
Fri, 28 Nov 2008 20:24:13 +0000 (21:24 +0100)
Remove USB obsolete commmand

Signed-off-by: Michael Trimarchi <trimarchi@gandalf.sssup.it>
Signed-off-by: Remy Böhmer <linux@bohmer.net>
common/cmd_usb.c

index 8a8dca9..8b19240 100644 (file)
@@ -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();