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/saveenv.c | 1 - 1 file changed, 1 deletion(-) (limited to 'commands/saveenv.c') diff --git a/commands/saveenv.c b/commands/saveenv.c index fc1eee7d06..d28b4d338c 100644 --- a/commands/saveenv.c +++ b/commands/saveenv.c @@ -101,7 +101,6 @@ static const __maybe_unused char cmd_saveenv_help[] = "Note that envfs can only handle files. Directories are skipped silently.\n"; U_BOOT_CMD_START(saveenv) - .maxargs = 3, .cmd = do_saveenv, .usage = "save environment to persistent storage", U_BOOT_CMD_HELP(cmd_saveenv_help) -- cgit v1.2.3