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/pwd.c | 1 - 1 file changed, 1 deletion(-) (limited to 'commands/pwd.c') diff --git a/commands/pwd.c b/commands/pwd.c index 7034585c78..683a2407be 100644 --- a/commands/pwd.c +++ b/commands/pwd.c @@ -30,7 +30,6 @@ static int do_pwd (cmd_tbl_t *cmdtp, int argc, char *argv[]) } U_BOOT_CMD_START(pwd) - .maxargs = 1, .cmd = do_pwd, .usage = "print working directory", U_BOOT_CMD_END -- cgit v1.2.3