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/insmod.c | 1 - 1 file changed, 1 deletion(-) (limited to 'commands/insmod.c') diff --git a/commands/insmod.c b/commands/insmod.c index 0b7c91ff00..82858bf825 100644 --- a/commands/insmod.c +++ b/commands/insmod.c @@ -36,7 +36,6 @@ static const __maybe_unused char cmd_insmod_help[] = "Usage: insmod \n"; U_BOOT_CMD_START(insmod) - .maxargs = 2, .cmd = do_insmod, .usage = "insert a module", U_BOOT_CMD_HELP(cmd_insmod_help) -- cgit v1.2.3