summaryrefslogtreecommitdiffstats
path: root/common/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/parser.c')
-rw-r--r--common/parser.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/parser.c b/common/parser.c
index d5308d90d9..1734e30f61 100644
--- a/common/parser.c
+++ b/common/parser.c
@@ -282,7 +282,7 @@ int run_command (const char *cmd, int flag)
#endif /* CFG_CMD_BOOTD */
/* OK - call function to do the command */
- if ((cmdtp->cmd) (cmdtp, flag, argc, argv) != 0)
+ if ((cmdtp->cmd) (cmdtp, argc, argv) != 0)
rc = -1;
}
@@ -303,8 +303,6 @@ int run_shell(void)
flag = 0; /* assume no special flags for now */
if (len > 0)
strcpy (lastcommand, console_buffer);
- else if (len == 0)
- flag |= CMD_FLAG_REPEAT;
if (len == -1)
puts ("<INTERRUPT>\n");