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/cd.c | 1 - 1 file changed, 1 deletion(-) (limited to 'commands/cd.c') diff --git a/commands/cd.c b/commands/cd.c index 57141e3133..973ef78407 100644 --- a/commands/cd.c +++ b/commands/cd.c @@ -52,7 +52,6 @@ static const __maybe_unused char cmd_cd_help[] = "change to directory. If called without argument, change to /\n"; U_BOOT_CMD_START(cd) - .maxargs = 2, .cmd = do_cd, .usage = "change working directory", U_BOOT_CMD_HELP(cmd_cd_help) -- cgit v1.2.3