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 --- board/ipe337/cmd_alternate.c | 1 - board/pcm043/pcm043.c | 1 - 2 files changed, 2 deletions(-) (limited to 'board') diff --git a/board/ipe337/cmd_alternate.c b/board/ipe337/cmd_alternate.c index e563ab8d7a..78ed77c2dd 100644 --- a/board/ipe337/cmd_alternate.c +++ b/board/ipe337/cmd_alternate.c @@ -49,7 +49,6 @@ static const __maybe_unused char cmd_alternate_help[] = "\n"; U_BOOT_CMD_START(alternate) - .maxargs = CONFIG_MAXARGS, .cmd = do_alternate, .usage = "count zero bits in a file", U_BOOT_CMD_HELP(cmd_alternate_help) diff --git a/board/pcm043/pcm043.c b/board/pcm043/pcm043.c index 209953331a..166f2fa1cd 100644 --- a/board/pcm043/pcm043.c +++ b/board/pcm043/pcm043.c @@ -283,7 +283,6 @@ static const __maybe_unused char cmd_cpufreq_help[] = "Set CPU frequency to MHz\n"; U_BOOT_CMD_START(cpufreq) - .maxargs = CONFIG_MAXARGS, .cmd = do_cpufreq, .usage = "adjust CPU frequency", U_BOOT_CMD_HELP(cmd_cpufreq_help) -- cgit v1.2.3