Commit 61ddce07f8b96c5df7d00466b4da9edaecb0eff1

Authored by Simon Glass
Committed by Wolfgang Denk
1 parent 9e02a6b8e5

sandbox: Use the new run_command()

Now that run_command() handles both parsers, clean up sandbox to use it.
This fixes a build error.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>

Showing 1 changed file with 0 additions and 6 deletions Side-by-side Diff

arch/sandbox/cpu/start.c
... ... @@ -90,13 +90,7 @@
90 90  
91 91 /* Execute command if required */
92 92 if (state->cmd) {
93   - /* TODO: redo this when cmd tidy-up series lands */
94   -#ifdef CONFIG_SYS_HUSH_PARSER
95 93 run_command(state->cmd, 0);
96   -#else
97   - parse_string_outer(state->cmd, FLAG_PARSE_SEMICOLON |
98   - FLAG_EXIT_FROM_LOOP);
99   -#endif
100 94 os_exit(state->exit_type);
101 95 }
102 96