From 420a3173f0f7d2bd35f32be437e4888a82047560 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 19 Oct 2009 16:16:54 +0200 Subject: commands: remove maxargs No need to check for maximum argument counts. The commands are safe to be called with more arguments, so lets safe some bytes. Signed-off-by: Sascha Hauer --- commands/readline.c | 1 - 1 file changed, 1 deletion(-) (limited to 'commands/readline.c') diff --git a/commands/readline.c b/commands/readline.c index f3fad4bb52..9b12da3015 100644 --- a/commands/readline.c +++ b/commands/readline.c @@ -50,7 +50,6 @@ static const __maybe_unused char cmd_readline_help[] = "readline reads a line of user input into variable VAR.\n"; U_BOOT_CMD_START(readline) - .maxargs = 3, .cmd = do_readline, .usage = "prompt for user input", U_BOOT_CMD_HELP(cmd_readline_help) -- cgit v1.2.3