diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-10-19 16:16:54 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-10-19 16:18:33 +0200 |
commit | 420a3173f0f7d2bd35f32be437e4888a82047560 (patch) | |
tree | 445f3f6a62d1a88af8522696dba1764f27326f46 /commands/loadb.c | |
parent | f4ca85a2a3773202f556e19c9227d83508316108 (diff) | |
download | barebox-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/loadb.c')
-rw-r--r-- | commands/loadb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/commands/loadb.c b/commands/loadb.c index 1fdf94487b..a942d36097 100644 --- a/commands/loadb.c +++ b/commands/loadb.c @@ -807,7 +807,6 @@ static const __maybe_unused char cmd_loadb_help[] = " -c - Create file if it is not present - default disabled"; #ifdef CONFIG_CMD_LOADB U_BOOT_CMD_START(loadb) - .maxargs = 8, .cmd = do_load_serial_bin, .usage = "Load binary file over serial line (kermit mode)", U_BOOT_CMD_HELP(cmd_loadb_help) @@ -815,7 +814,6 @@ U_BOOT_CMD_END #endif #ifdef CONFIG_CMD_LOADY U_BOOT_CMD_START(loady) - .maxargs = 8, .cmd = do_load_serial_bin, .usage = "Load binary file over serial line (ymodem mode)", U_BOOT_CMD_HELP(cmd_loadb_help) |