summaryrefslogtreecommitdiffstats
path: root/commands/memtest.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-10-19 16:16:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-10-19 16:18:33 +0200
commit420a3173f0f7d2bd35f32be437e4888a82047560 (patch)
tree445f3f6a62d1a88af8522696dba1764f27326f46 /commands/memtest.c
parentf4ca85a2a3773202f556e19c9227d83508316108 (diff)
downloadbarebox-420a3173f0f7d2bd35f32be437e4888a82047560.tar.gz
barebox-420a3173f0f7d2bd35f32be437e4888a82047560.tar.xz
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/memtest.c')
-rw-r--r--commands/memtest.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/commands/memtest.c b/commands/memtest.c
index 07b7b22d3b..d2c61200bf 100644
--- a/commands/memtest.c
+++ b/commands/memtest.c
@@ -348,7 +348,6 @@ static const __maybe_unused char cmd_mtest_help[] =
"\nsimple RAM read/write test\n";
U_BOOT_CMD_START(mtest)
- .maxargs = 4,
.cmd = do_mem_mtest,
.usage = "simple RAM test",
U_BOOT_CMD_HELP(cmd_mtest_help)