cmd_time: merge run_command_and_time_it with cmd_process
As far as every arch has a get_timer function, run_command_and_time_it code can now disappear. Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Acked-By: Che-Liang Chiou <clchiou@chromium.org> [trini: s/ulong/unsigned long/ in command.h portion] Signed-off-by: Tom Rini <trini@ti.com>
This commit is contained in:
@@ -1452,7 +1452,7 @@ static int builtin_run_command(const char *cmd, int flag)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (cmd_process(flag, argc, argv, &repeatable))
|
||||
if (cmd_process(flag, argc, argv, &repeatable, NULL))
|
||||
rc = -1;
|
||||
|
||||
/* Did the user stop this? */
|
||||
|
||||
Reference in New Issue
Block a user