Просмотр исходного кода

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

Remove USB obsolete commmand

Signed-off-by: Michael Trimarchi <trimarchi@gandalf.sssup.it>
Signed-off-by: Remy Böhmer <linux@bohmer.net>
Michael Trimarchi 16 лет назад
Родитель
Сommit
bebfc6ef3e
1 измененных файлов с 0 добавлено и 9 удалено
  1. 0 9
      common/cmd_usb.c

+ 0 - 9
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();