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 /include/command.h | |
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 'include/command.h')
-rw-r--r-- | include/command.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/command.h b/include/command.h index 5d57ecdeb5..a72f240a7d 100644 --- a/include/command.h +++ b/include/command.h @@ -46,7 +46,6 @@ extern struct list_head command_list; struct cmd_tbl_s { const char *name; /* Command Name */ const char **aliases; - int maxargs; /* maximum number of arguments */ /* Implementation function */ int (*cmd)(struct cmd_tbl_s *, int, char *[]); const char *usage; /* Usage message (short) */ |